ROOT logo
AliRoot » MUON » MAPPING » AliMpDetElement

class AliMpDetElement: public TObject

 Class AliMpDetElement

 The class defines the electronics properties of detection element
 Authors: Ivana Hrivnacova, IPN Orsay
          Laurent Aphecetche, Christian Finck, SUBATECH Nantes

Function Members (Methods)

public:
AliMpDetElement(TRootIOCtor* ioCtor)
AliMpDetElement(Int_t id, const TString& name, const TString& segType, AliMp::PlaneType planeType)
virtual~AliMpDetElement()
voidTObject::AbstractMethod(const char* method) const
Bool_tAddBusPatch(Int_t busPatchId)
voidAddManu(Int_t manuId)
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
Int_tGetBusPatchId(Int_t index) const
AliMp::CathodTypeGetCathodType(AliMp::PlaneType planeType) const
AliMp::CathodTypeGetCathodTypeFromManuId(Int_t manuId) const
Int_tGetDdlId() const
TStringGetDEName() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tGetId() const
virtual const char*TObject::GetName() const
static charGetNameSeparator()
Int_tGetNofBusPatches() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
AliMp::PlaneTypeGetPlaneType(AliMp::CathodType cath) const
TStringGetSegName(AliMp::CathodType cath) const
TStringGetSegType() const
AliMq::Station12TypeGetStation12Type() const
AliMp::StationTypeGetStationType() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tHasBusPatchId(Int_t busPatchId) const
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
Bool_tIsConnectedChannel(Int_t manuId, Int_t manuChannel) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Bool_tIsExistingChannel(Int_t manuId, Int_t manuChannel) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
const AliMpArrayI*ManusForHV(Int_t hvIndex) const
voidTObject::MayNotUse(const char* method) const
Int_tNofChannels() const
Int_tNofChannelsInManu(Int_t manuId) const
Int_tNofManus() 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)
voidSetDdlId(Int_t ddlId)
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:
AliMpArrayIfBusPatchIds/< Bus patches connected to this detection element
Int_tfDdlId/< DDL Id to which this DE is connected
AliMpExMapfHVmanus/< map of HV->manu
Int_tfId/< Identifier (unique)
TExMapfManuList/< map of manus
TStringfName/< Name unique
Int_tfNofChannels/< number of channels in this detection element
AliMp::PlaneTypefPlaneType/< Plane type on cathod0
TStringfSegType/< Segmentation type name
TExMapfTrackerChannels/< list of connected pads (tracker only)
static const charfgkNameSeparator/< Separator character used in DE names

Class Charts

Inheritance Chart:
TObject
AliMpDetElement

Function documentation

AliMpDetElement(Int_t id, const TString& name, const TString& segType, AliMp::PlaneType planeType)
 Standard constructor
AliMpDetElement(TRootIOCtor* ioCtor)
 Root IO constructor
~AliMpDetElement()
 Destructor
Bool_t AddBusPatch(Int_t busPatchId)
 Add bus patch Id if a bus patch with the same Id is not yet present;
 return false if bus patch was not added
TString GetSegName(AliMp::CathodType cath) const
 Return the segmentation name for the given catod type
AliMp::PlaneType GetPlaneType(AliMp::CathodType cath) const
 Return plane type                                                      \n
AliMp::CathodType GetCathodType(AliMp::PlaneType planeType) const
 Return cathod type for given planeType
AliMp::CathodType GetCathodTypeFromManuId(Int_t manuId) const
 Return cathod type for given manuId
AliMp::StationType GetStationType() const
 Return station type                                                      \n
 Failure causes Fatal error - as AliMp::StationType has no possibility
 to return undefined value
AliMq::Station12Type GetStation12Type() const
 Return station12 type                                                      \n
 Failure causes Fatal error - as AliMp::Station12Type has no possibility
 to return undefined value
Int_t GetNofBusPatches() const
 Return the number of bus patches in this detection element
Int_t GetBusPatchId(Int_t index) const
 Return the index-th bus patch
Bool_t HasBusPatchId(Int_t busPatchId) const
 Return true if the bus patch Id is present
NofChannelsInManu(Int_t manuId) const
 Return the number of channels in a given manu
IsExistingChannel(Int_t manuId, Int_t manuChannel) const
 Whether or not the channel is a valid one (does not tell if it is
 connected or not
IsConnectedChannel(Int_t manuId, Int_t manuChannel) const
 Whether or not the channel is a *connected* one (i.e. it is valid plus
 it corresponds to a real pad)
AddManu(Int_t manuId)
 Fills the fManuList and fTrackerChannels
ManusForHV(Int_t hvIndex) const
 Return the list of manus sharing a hv channel
NofManus() const
 Return the number of manus in this detection element
char GetNameSeparator()
 Return the name separator
{ return fgkNameSeparator; }
void SetDdlId(Int_t ddlId)
 Set DDL Id
{ fDdlId = ddlId; }
Int_t GetId() const
 Return Id
{ return fId; }
Int_t GetDdlId() const
 Return DDL Id
{ return fDdlId; }
TString GetDEName() const
 Return name
{ return fName; }
TString GetSegType() const
 Return segmentation type name
{ return fSegType; }
AliMpDetElement(Int_t id, const TString& name, const TString& segType, AliMp::PlaneType planeType)
Int_t NofChannels() const
 Return the number of channels in this detection element
{ return fNofChannels; }
AliMpDetElement()
 Not implemented
AliMpDetElement& operator=(const AliMpDetElement& rhs)
 Not implemented