ROOT logo
AliRoot » MUON » MAPPING » AliMpDEManager

class AliMpDEManager: public TObject

 Class AliMpDEManager

 The manager class for definition of detection element types
 Authors: Ivana Hrivnacova, IPN Orsay
          Laurent Aphecetche, SUBATECH Nantes

Function Members (Methods)

public:
virtual~AliMpDEManager()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
static AliMp::CathodTypeGetCathod(Int_t detElemId, AliMp::PlaneType planeType)
static Int_tGetChamberId(Int_t detElemId, Bool_t warn = true)
static AliMpDetElement*GetDetElement(Int_t detElemId, Bool_t warn = true)
static AliMpDetElement*GetDetElement(const TString& deName, Bool_t warn = true)
static MpPair_tGetDetElemIdRange(Int_t chamberId)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
static Int_tGetGeomModuleId(Int_t detElemId, Bool_t warn = true)
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
static Int_tGetNofDEInChamber(Int_t chamberId, Bool_t warn = true)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
static AliMp::PlaneTypeGetPlaneType(Int_t detElemId, AliMp::CathodType cath)
static AliMq::Station12TypeGetStation12Type(Int_t detElemId)
static AliMp::StationTypeGetStationType(Int_t detElemId)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
static Bool_tIsValidChamberId(Int_t chamberId, Bool_t warn = false)
static Bool_tIsValidDetElemId(Int_t detElemId, Bool_t warn = false)
static Bool_tIsValidGeomModuleId(Int_t moduleId, Bool_t warn = false)
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

private:
static const Int_tfgkCoefficient/< Coefficient used in DE Id <-> station

Class Charts

Inheritance Chart:
TObject
AliMpDEManager

Function documentation

TArrayI& GetNofDEPerChamber()
 number of detElemId per chamber
AliMpDetElement* GetDetElement(Int_t detElemId, Bool_t warn = true)
 Return det element for given detElemId
AliMpDetElement* GetDetElement(const TString& deName, Bool_t warn = true)
 Return det element for given deName
Bool_t IsValidDetElemId(Int_t detElemId, Bool_t warn = false)
 Return true if detElemId is valid
 (is present in the DE map)
Bool_t IsValidChamberId(Int_t chamberId, Bool_t warn = false)
 Return true if chamberId is valid
Bool_t IsValidGeomModuleId(Int_t moduleId, Bool_t warn = false)
 Return true if moduleId is valid
Int_t GetChamberId(Int_t detElemId, Bool_t warn = true)
 Return chamber Id for given detElemId
Int_t GetGeomModuleId(Int_t detElemId, Bool_t warn = true)
 <pre>
 Get module Id from detection element Id
 !!! moduleId != chamberId
 Station 1:   Chamber:  1   Module:  0   Det elements:  100-103
              Chamber:  2   Module:  1   Det elements:  200-203
 Station 2:   Chamber:  3   Module:  2   Det elements:  300-303
              Chamber:  4   Module:  3   Det elements:  400-403
 Station 3:   Chamber:  5   Module:  4   Det elements:  500-504, 514-517
                            Module:  5   Det elements:  505-513,
              Chamber:  6   Module:  6   Det elements:  600-604, 614-617
                            Module:  7   Det elements:  605-613
 Station 4:   Chamber:  7   Module:  8   Det elements:  700-706, 720-725
                            Module:  9   Det elements:  707-719
              Chamber:  8   Module: 10   Det elements:  800-806, 820-825
                            Module: 11   Det elements:  807-819
 Station 5:   Chamber:  9   Module: 12   Det elements:  900-906, 920-925
                            Module: 13   Det elements:  907-919
              Chamber: 10   Module: 14   Det elements: 1000-1006,1020-1025
                            Module: 15   Det elements: 1007-1019
 Station 6:   Chamber: 11   Module: 16   Det elements: 1100-1117
              Chamber: 12   Module: 17   Det elements: 1200-1217
 Station 7:   Chamber: 13   Module: 18   Det elements: 1300-1317
              Chamber: 14   Module: 19   Det elements: 1400-1417
 </pre>
AliMp::PlaneType GetPlaneType(Int_t detElemId, AliMp::CathodType cath)
 Return plane type                                                      \n
 Failure causes Fatal error - as AliMp::PlaneType has no possibility
 to return undefined value
AliMp::StationType GetStationType(Int_t detElemId)
 Return station type                                                      \n
 Failure causes Fatal error - as AliMp::StationType has no possibility
 to return undefined value
AliMq::Station12Type GetStation12Type(Int_t detElemId)
 Return station12 type                                                    \n
 Failure causes Fatal error - as AliMp::StationNumber has no possibility
 to return undefined value
GetCathod(Int_t detElemId, AliMp::PlaneType planeType)
 Return cathod number for given detElemId and planeType
Int_t GetNofDEInChamber(Int_t chamberId, Bool_t warn = true)
 Return the number of detection elements in the chamber with the given
 chamberId
MpPair_t GetDetElemIdRange(Int_t chamberId)
 Return the detection element Id range for given chamberId
 es encoded pair
~AliMpDEManager()
 Destructor
AliMpDEManager()
 Not implemented
AliMpDEManager(const AliMpDEManager& rhs)
 Not implemented
AliMpDEManager& operator=(const AliMpDEManager& rhs)
 Not implemented