AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMFTSegmentation.h
Go to the documentation of this file.
1 #ifndef AliMFTSegmentation_H
2 #define AliMFTSegmentation_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
15 
16 #include "TNamed.h"
17 #include "TClonesArray.h"
19 class AliMFTPlane;
20 
21 //====================================================================================================================================================
22 
23 class AliMFTSegmentation : public TNamed {
24 
25 public:
26 
28 
30  AliMFTSegmentation(const Char_t *nameGeomFile);
31 
32  virtual ~AliMFTSegmentation();
33  virtual void Clear(const Option_t* /*opt*/);
34 
38  AliMFTHalfSegmentation* GetHalf(Int_t iHalf) const { return ((iHalf==kTop || iHalf==kBottom) ? ( (AliMFTHalfSegmentation*) fMFTHalves->At(iHalf)) : NULL); }
39 
40  Int_t GetDetElemLocalID(Int_t half, Int_t disk, Int_t ladder, Int_t sensor) const;
41 
42  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);
43 
44 
45 private:
46 
47  TClonesArray *fMFTHalves;
48 
50  ClassDef(AliMFTSegmentation, 1);
52 
53 };
54 
55 //====================================================================================================================================================
56 
57 #endif
58 
AliMFTHalfSegmentation * GetHalf(Int_t iHalf) const
Returns pointer to the segmentation of the half-MFT.
virtual void Clear(const Option_t *)
Clear the TClonesArray holding the AliMFTHalfSegmentation objects.
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)
TClonesArray * fMFTHalves
Array of pointer to AliMFTHalfSegmentation.
Segmentation class for each half of the ALICE Muon Forward Tracker.
AliMFTSegmentation()
Default constructor.
Class for the virtual segmentation of the ALICE Muon Forward Tracker.