![]() |
AliRoot Core
3dc7879 (3dc7879)
|
Class for the virtual segmentation of the ALICE Muon Forward Tracker. More...
#include <AliMFTSegmentation.h>
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... | |
AliMFTHalfSegmentation * | GetHalf (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 Member Functions | |
AliMFTSegmentation (const AliMFTSegmentation &) | |
AliMFTSegmentation & | operator= (const AliMFTSegmentation &) |
Private Attributes | |
TClonesArray * | fMFTHalves |
Array of pointer to AliMFTHalfSegmentation. More... | |
Class for the virtual segmentation of the ALICE Muon Forward Tracker.
Class for the virtual segmentation of the ALICE Muon Forward Tracker
Definition at line 23 of file AliMFTSegmentation.h.
Enumerator | |
---|---|
kBottom | |
kTop |
Definition at line 27 of file AliMFTSegmentation.h.
AliMFTSegmentation::AliMFTSegmentation | ( | ) |
Default constructor.
Definition at line 43 of file AliMFTSegmentation.cxx.
AliMFTSegmentation::AliMFTSegmentation | ( | const Char_t * | nameGeomFile | ) |
Constructor.
nameGeomFile | Char_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.
|
virtual |
Definition at line 82 of file AliMFTSegmentation.cxx.
|
inlineprivate |
Definition at line 46 of file AliMFTSegmentation.h.
|
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
sensor | Int_t : Sensor ID |
ladder | Int_t : Ladder ID holding the Sensor |
disk | Int_t : Half-Disk ID holding the Sensor |
half | Int_t : Half-MFT ID holding the Sensor |
Definition at line 156 of file AliMFTSegmentation.cxx.
Referenced by AliMFTGeometry::GetDetElemLocalID(), and GetHalf().
|
inline |
Returns pointer to the segmentation of the half-MFT.
iHalf | Integer : 0 = Bottom; 1 = Top |
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
[in] | xHit | Double_t : x Position of the Hit |
[in] | yHit | Double_t : y Position of the Hit |
[in] | zHit | Double_t : z Position of the Hit |
[in] | sensor | Int_t : Sensor ID in which the hit occured |
[in] | ladder | Int_t : Ladder ID holding the sensor |
[in] | disk | Int_t : Half-Disk ID holding the ladder |
[in] | half | Int_t : Half-MFT ID holding the half-disk |
[out] | xPixel | Int_t : x position of the pixel hit on the sensor matrix |
[out] | yPixel | Int_t : y position of the pixel hit on the sensor matrix |
<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().
|
inlineprivate |
Definition at line 47 of file AliMFTSegmentation.h.
|
private |
Array of pointer to AliMFTHalfSegmentation.
Definition at line 49 of file AliMFTSegmentation.h.
Referenced by AliMFTSegmentation(), Clear(), GetHalf(), Hit2PixelID(), and ~AliMFTSegmentation().