37 #include <Riostream.h>
54 static TArrayI nofDEPerChamber;
55 return nofDEPerChamber;
102 AliErrorClassStream() <<
"Wrong chamber Id " << chamberId << endl;
116 AliErrorClassStream() <<
"Wrong module Id " << moduleId << endl;
162 + ((detElemId >= 505 && detElemId <= 513) || detElemId >= 600 )
163 + ((detElemId >= 605 && detElemId <= 613) || detElemId >= 700 )
164 + ((detElemId >= 707 && detElemId <= 719) || detElemId >= 800 )
165 + ((detElemId >= 807 && detElemId <= 819) || detElemId >= 900 )
166 + ((detElemId >= 907 && detElemId <= 919) || detElemId >= 1000 )
167 + ((detElemId >= 1007 && detElemId <= 1019) || detElemId >= 1100 ) - 1;
178 AliFatalClass(
"Cannot return AliMp::PlaneType value.");
193 AliFatalClass(
"Cannot return AliMp::StationType value.");
208 AliFatalClass(
"Cannot return AliMp::Station12Type value.");
222 AliFatalClass(
"Cannot return AliMp::CathodType value.");
static AliMq::Station12Type GetStation12Type(Int_t detElemId)
static Int_t NofChambers()
Return number of chambers.
The iterator over detection elements.
static Bool_t IsValidGeomModuleId(Int_t moduleId, Bool_t warn=false)
static AliMpDEStore * Instance(Bool_t warn=true)
static const Int_t fgkCoefficient
Coefficient used in DE Id <-> station.
static AliMp::CathodType GetCathod(Int_t detElemId, AliMp::PlaneType planeType)
AliMq::Station12Type GetStation12Type() const
AliMp::StationType GetStationType() const
static MpPair_t GetDetElemIdRange(Int_t chamberId)
MpPair_t Pair(Int_t first, Int_t second)
Encode the pair of integers to another integer.
static Int_t GetGeomModuleId(Int_t detElemId, Bool_t warn=true)
AliMpDetElement * GetDetElement(Int_t detElemId, Bool_t warn=true) const
The class defines the electronics properties of detection element.
static Int_t GetChamberId(Int_t detElemId, Bool_t warn=true)
static TArrayI & GetNofDEPerChamber()
static Int_t GetNofDEInChamber(Int_t chamberId, Bool_t warn=true)
static Int_t NofGeomModules()
Return number of geometry modules.
static AliMp::StationType GetStationType(Int_t detElemId)
AliMp::PlaneType GetPlaneType(AliMp::CathodType cath) const
static AliMp::PlaneType GetPlaneType(Int_t detElemId, AliMp::CathodType cath)
value for all non sector stations
The manager class for definition of detection element types.
AliMp::CathodType GetCathodType(AliMp::PlaneType planeType) const
static Bool_t IsValidChamberId(Int_t chamberId, Bool_t warn=false)
virtual ~AliMpDEManager()
static AliMpDetElement * GetDetElement(Int_t detElemId, Bool_t warn=true)
static Bool_t IsValidDetElemId(Int_t detElemId, Bool_t warn=false)