ROOT logo
AliRoot » MUON » MAPPING » AliMpLocalBoard

class AliMpLocalBoard: public TNamed

 Class AliMpLocalBoard

 The class defines the properties of local board
 Author: Ch. Finck, Subatech Nantes

Function Members (Methods)

public:
AliMpLocalBoard(TRootIOCtor*)
AliMpLocalBoard(Int_t id, const Char_t* name, Int_t slot)
virtual~AliMpLocalBoard()
voidTObject::AbstractMethod(const char* method) const
Bool_tAddDE(Int_t detElemId)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) 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 voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TStringGetCrate() const
Int_tGetDEId(Int_t index) const
Int_tGetDEIdByChamber(Int_t chamberId) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tGetId() const
Int_tGetInputXfrom() const
Int_tGetInputXto() const
Int_tGetInputYfrom() const
Int_tGetInputYto() const
virtual const char*TNamed::GetName() const
Int_tGetNofDEs() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
MpPair_tGetPosition() const
Int_tGetSlot() const
UInt_tGetSwitch() const
Int_tGetSwitch(Int_t index) const
Bool_tGetTC() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tHasDEId(Int_t detElemId) const
virtual ULong_tTNamed::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_tIsNotified() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::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 voidTNamed::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)
voidSetCrate(TString name)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetInputXfrom(Int_t id)
voidSetInputXto(Int_t id)
voidSetInputYfrom(Int_t id)
voidSetInputYto(Int_t id)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidSetNotified(Bool_t notify)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetSlot(Int_t slot)
voidSetSwitch(UInt_t swit)
voidSetTC(Bool_t connect)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
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

public:
enum { kX2d
kX2m
kX2u
kOR0
kOR1
kENY
kZeroAllYLSB
kZeroDown
kZeroMiddle
kZeroUp
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
TStringfCrate/< Crate name
AliMpArrayIfDEId/< list of Detection element to which this local board is connected
Int_tfId/< Identifier (unique)
Int_tfInputXfrom/< local id of x3-4 inputs copied from (zero: not copied)
Int_tfInputXto/< local id of x3-4 inputs copied to (zero: not copied)
Int_tfInputYfrom/< local id of y1-4 inputs copied from (zero: not copied)
Int_tfInputYto/< local id of y1-4 inputs copied to (zero: not copied)
Bool_tfNotified/< notified flag (not copy card)
Int_tfSlot/< Slot Identifier in the given crate
UInt_tfSwitch/< switches in compact way
Bool_tfTC/< Transverse connector

Class Charts

Inheritance Chart:
TNamed
AliMpLocalBoard

Function documentation

AliMpLocalBoard(Int_t id, const Char_t* name, Int_t slot)
 Default constructor
AliMpLocalBoard(TRootIOCtor* )
 Root IO constructor
~AliMpLocalBoard()
 Destructor
Int_t GetIndex(Int_t chamberId) const
 Return the index from chamver Id.
 chamberId could range from 10-13 in absolute value
 chamberId could also range from 0-3 in relative value
Bool_t AddDE(Int_t detElemId)
 Add detection element with given detElemId.
 Return true if the detection element was added
Int_t GetNofDEs() const
 Return the number of detection elements connected to this crate
Int_t GetDEId(Int_t index) const
 Return the detection element by index (in loop)
Int_t GetDEIdByChamber(Int_t chamberId) const
 Return the detection element by index (in loop)
Bool_t HasDEId(Int_t detElemId) const
 Return true if the detection element Id is present
void SetSwitch(UInt_t swit)
 set compact switch
Int_t GetSwitch(Int_t index) const
 Return switch bit wise
MpPair_t GetPosition() const
 gives position of the local board in (line, col)
AliMpLocalBoard(Int_t id, const Char_t* name, Int_t slot)
AliMpLocalBoard(TRootIOCtor* )
Int_t GetId() const
 get methods

 Return the identifier (unique)
{return fId;}
Int_t GetSlot() const
 Return the slot Identifier in the given crate
{return fSlot;}
void SetSlot(Int_t slot)
 set slot
{fSlot = slot;}
Int_t GetSwitch(Int_t index) const
 Switches

 Get switch bit wise (return a inteter for backware compatibility)
void SetTC(Bool_t connect)
 Transverse connector

 Set transverse connector
{fTC = connect;}
Bool_t GetTC() const
 Return transverse connector
{return fTC;}
void SetCrate(TString name)
 Crate name

 Set crate name
{fCrate = name;}
TString GetCrate() const
 Return crate name
{return fCrate;}
void SetNotified(Bool_t notify)
 Notify

 Set notified flag (not copy card)
{fNotified = notify;}
Bool_t IsNotified() const
 Return notified flag (not copy card)
{return fNotified;}
Int_t GetInputXfrom() const
 Id to be copy to or from
 Get Id from where the X input are copied
{return fInputXfrom;}
Int_t GetInputXto() const
 Get Id to where the X input are copied
{return fInputXto;}
Int_t GetInputYfrom() const
 Get Id from where the Y input are copied
{return fInputYfrom;}
Int_t GetInputYto() const
 Get Id to where the Y input are copied
{return fInputYto;}
void SetInputXfrom(Int_t id)
 Set Id from where the X input are copied
{fInputXfrom = id;}
void SetInputXto(Int_t id)
 Set Id to where the X input are copied
{fInputXto = id;}
void SetInputYfrom(Int_t id)
 Set Id from where the Y input are copied
{fInputYfrom = id;}
void SetInputYto(Int_t id)
 Set Id to where the Y input are copied
{fInputYto = id;}