AliRoot Core  d175af5 (d175af5)
AliMFTSegmentation Class Reference

Class for the virtual segmentation of the ALICE Muon Forward Tracker. More...

#include <AliMFTSegmentation.h>

Inheritance diagram for AliMFTSegmentation:

Public Types

enum  THalfMFTType { kBottom, kTop }
 

Public Member Functions

 AliMFTSegmentation ()
 Default constructor. More...
 
 AliMFTSegmentation (const Char_t *nameGeomFile)
 Constructor. More...
 
virtual ~AliMFTSegmentation ()
 
virtual void Clear (const Option_t *)
 Clear the TClonesArray holding the AliMFTHalfSegmentation objects. More...
 
AliMFTHalfSegmentationGetHalf (Int_t iHalf) const
 Returns pointer to the segmentation of the half-MFT. More...
 
Int_t GetDetElemLocalID (Int_t half, Int_t disk, Int_t ladder, Int_t sensor) const
 
Bool_t Hit2PixelID (Double_t xHit, Double_t yHit, Double_t zHit, Int_t half, Int_t disk, Int_t ladder, Int_t sensor, Int_t &xPixel, Int_t &yPixel)
 

Private Attributes

TClonesArray * fMFTHalves
 Array of pointer to AliMFTHalfSegmentation. More...
 

Detailed Description

Class for the virtual segmentation of the ALICE Muon Forward Tracker.

Class for the virtual segmentation of the ALICE Muon Forward Tracker

Author
Raphael Tieulent rapha.nosp@m.el.t.nosp@m.ieule.nosp@m.nt@c.nosp@m.ern.c.nosp@m.h
Date
June 9th, 2015

Definition at line 23 of file AliMFTSegmentation.h.

Member Enumeration Documentation

Enumerator
kBottom 
kTop 

Definition at line 27 of file AliMFTSegmentation.h.

Constructor & Destructor Documentation

AliMFTSegmentation::AliMFTSegmentation ( )

Default constructor.

Definition at line 43 of file AliMFTSegmentation.cxx.

AliMFTSegmentation::AliMFTSegmentation ( const Char_t *  nameGeomFile)

Constructor.

Parameters
nameGeomFileChar_t * : name of the XML geometry file. By default it is : $ALICE_ROOT/ITSMFT/MFT/data/AliMFTGeometry.xml

Definition at line 56 of file AliMFTSegmentation.cxx.

AliMFTSegmentation::~AliMFTSegmentation ( )
virtual

Definition at line 82 of file AliMFTSegmentation.cxx.

Member Function Documentation

void AliMFTSegmentation::Clear ( const Option_t *  )
virtual

Clear the TClonesArray holding the AliMFTHalfSegmentation objects.

Definition at line 92 of file AliMFTSegmentation.cxx.

Int_t AliMFTSegmentation::GetDetElemLocalID ( Int_t  half,
Int_t  disk,
Int_t  ladder,
Int_t  sensor 
) const

Returns the local ID of the sensor on the entire disk specified

Parameters
sensorInt_t : Sensor ID
ladderInt_t : Ladder ID holding the Sensor
diskInt_t : Half-Disk ID holding the Sensor
halfInt_t : Half-MFT ID holding the Sensor
Returns
A fixed number that represents the ID of the sensor on the disk. It goes from 0 to the max number of sensor on the disk

Definition at line 156 of file AliMFTSegmentation.cxx.

Referenced by AliMFTGeometry::GetDetElemLocalID(), and GetHalf().

AliMFTHalfSegmentation* AliMFTSegmentation::GetHalf ( Int_t  iHalf) const
inline

Returns pointer to the segmentation of the half-MFT.

Parameters
iHalfInteger : 0 = Bottom; 1 = Top
Returns
Pointer to a AliMFTHalfSegmentation

Definition at line 38 of file AliMFTSegmentation.h.

Referenced by AliMFTGeometryBuilder::BuildGeometry(), GetDetElemLocalID(), AliMFTGeometry::GetDiskNSensors(), AliMFTGeometry::GetPixelCenter(), and AliMFTTracker::SeparateFrontBackClusters().

Bool_t AliMFTSegmentation::Hit2PixelID ( Double_t  xHit,
Double_t  yHit,
Double_t  zHit,
Int_t  half,
Int_t  disk,
Int_t  ladder,
Int_t  sensor,
Int_t &  xPixel,
Int_t &  yPixel 
)

Returns the pixel ID corresponding to a hit at (x,y,z) in the ALICE global frame

Parameters
[in]xHitDouble_t : x Position of the Hit
[in]yHitDouble_t : y Position of the Hit
[in]zHitDouble_t : z Position of the Hit
[in]sensorInt_t : Sensor ID in which the hit occured
[in]ladderInt_t : Ladder ID holding the sensor
[in]diskInt_t : Half-Disk ID holding the ladder
[in]halfInt_t : Half-MFT ID holding the half-disk
[out]xPixelInt_t : x position of the pixel hit on the sensor matrix
[out]yPixelInt_t : y position of the pixel hit on the sensor matrix
Return values
<kTRUE>if hit into the active part of the sensor
<kFALSE>if hit outside the active part

Definition at line 116 of file AliMFTSegmentation.cxx.

Referenced by GetHalf(), and AliMFTGeometry::Hit2PixelID().

Member Data Documentation

TClonesArray* AliMFTSegmentation::fMFTHalves
private

The documentation for this class was generated from the following files: