ROOT logo
AliRoot » MUON » MAPPING » AliMpBusPatch

class AliMpBusPatch: public TObject

 Class AliMpBusPatch

 The class defines the properties of BusPatch
 Author: Ivana Hrivnacova, IPN Orsay

Function Members (Methods)

public:
AliMpBusPatch(TRootIOCtor*)
AliMpBusPatch(Int_t id, Int_t deId, Int_t ddlId)
virtual~AliMpBusPatch()
voidTObject::AbstractMethod(const char* method) const
Bool_tAddManu(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
TStringGetCableLabel() const
Float_tGetCableLength() const
Int_tGetDdlId() const
Int_tGetDEId() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetFrtId() const
TStringGetFRTPosition() const
static Int_tGetGlobalBusID(Int_t localID, Int_t ddlID)
virtual const char*TObject::GetIconName() const
Int_tGetId() const
static Int_tGetLocalBusID(Int_t globalID, Int_t ddlID)
Int_tGetManuId(Int_t index) const
virtual const char*TObject::GetName() const
Int_tGetNofManus() const
Int_tGetNofManusPerModule(Int_t patchModule) const
Int_tGetNofPatchModules() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
TStringGetTranslatorLabel() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tHasManu(Int_t manuId) 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
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 voidPrint(Option_t* opt = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidResetReadout()
voidRevertReadout()
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)
voidSetCableLabel(TString label)
voidSetCableLength(Float_t length)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFrtId(Int_t id)
Bool_tSetNofManusPerModule(Int_t manuNumber = 0)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetTranslatorLabel(TString label)
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:
TStringfCableLabel/< label of the buspatch cable
Float_tfCableLength/< length of the buspatch cable
Int_tfDEId/< Detection element to which this bus patch is connected
Int_tfDdlId/< DDL to which this bus patch is connected
Int_tfFrtId/< FRT Ids connected to this bus patch
Int_tfId/< Identifier (unique)
AliMpArrayIfManus/< Manu Ids connected to this bus patch
AliMpArrayIfNofManusPerModule/< Nof Manus per patch modules (PCBs)
TStringfTranslatorLabel/< label of the translator board
static const Int_tfgkOffset/< Offset for conversion global/local ID

Class Charts

Inheritance Chart:
TObject
AliMpBusPatch

Function documentation

Int_t GetGlobalBusID(Int_t localID, Int_t ddlID)
 return global bus id from local bus and ddl id
Int_t GetLocalBusID(Int_t globalID, Int_t ddlID)
 return local bus id from local bus id
AliMpBusPatch(Int_t id, Int_t deId, Int_t ddlId)
 Standard constructor
AliMpBusPatch(TRootIOCtor* )
 Root IO constructor
~AliMpBusPatch()
 Destructor
Bool_t AddManu(Int_t manuId)
 Add detection element with given detElemId.
 Return true if the detection element was added
Bool_t SetNofManusPerModule(Int_t manuNumber = 0)
 Set the number of manus per patch module (PCB):
 - for stations 1 all manus are connected to one PCB,
 - for stations 2 there maximum two PCBs per buspatch,
 - for slat stations there are maximum three PCBs per buspatch
void RevertReadout()
 Revert order of manus
void ResetReadout()
 Revert order of manus
Int_t GetNofManus() const
 Return the number of detection elements connected to this DDL
Int_t GetManuId(Int_t index) const
 Return the detection element by index (in loop)
Bool_t HasManu(Int_t manuId) const
 Return true if bus patch has manu with given manuId
Int_t GetNofPatchModules() const
 Return the number of patch modules (PCB) connected to this bus patch.
GetFRTPosition() const
 Return CRXX-Y-Z where XX is the Crocus number, Y the FRT number
 and Z the local bus patch number.
Int_t GetNofManusPerModule(Int_t patchModule) const
 Return the number of manus per patch module (PCB)
Print(Option_t* opt = "") const
 Printout
Int_t GetId() const
 Return the unique Id
{ return fId; }
Int_t GetDEId() const
 Return the Detection element Id
{ return fDEId; }
Int_t GetDdlId() const
 Return the Ddl Id
{ return fDdlId; }
Int_t GetFrtId() const
 Return the FRT Id
{ return fFrtId; }
Float_t GetCableLength() const
 Return length of buspatch
{ return fCableLength; }
void SetFrtId(Int_t id)
 Set FRT id for buspatch
{ fFrtId = id; }
void SetCableLength(Float_t length)
 Set length of buspatch
{ fCableLength = length; }
TString GetCableLabel() const
 Return label of buspatch
{ return fCableLabel; }
void SetCableLabel(TString label)
 Set label of buspatch
{ fCableLabel = label; }
TString GetTranslatorLabel() const
 Return label of translator
{ return fCableLabel; }
void SetTranslatorLabel(TString label)
 Set label of translator
{ fTranslatorLabel = label; }
AliMpBusPatch(Int_t id, Int_t deId, Int_t ddlId)
AliMpBusPatch(TRootIOCtor* )
AliMpBusPatch& operator=(const AliMpBusPatch& rhs)
 Not implemented