32 #include <Riostream.h>
42 : TNamed(name, "mapping trigger local board"),
91 Int_t index = chamberId;
101 AliError(Form(
"chamber# %d not a valid trigger chamber Id, [0-3] or [10-13]", chamberId));
117 <<
"Detection element Id = " << detElemId <<
" already present."
174 AliWarning(
"Switch index too large");
177 return (
fSwitch >> (9-index)) & 0x1;
185 const Char_t* boardName = GetName();
186 Int_t iLine = boardName[4] -
'0';
187 Int_t iCol = boardName[2] -
'0';
static Int_t NofChambers()
Return number of chambers.
Bool_t AddDE(Int_t detElemId)
Int_t GetIndex(Int_t chamberId) const
UInt_t fSwitch
switches in compact way
Bool_t HasDEId(Int_t detElemId) const
Bool_t HasValue(Int_t value) const
MpPair_t Pair(Int_t first, Int_t second)
Encode the pair of integers to another integer.
Bool_t Add(Int_t value, Bool_t warn=kTRUE)
Class that manages the properties of the local board.
Int_t GetDEId(Int_t index) const
AliMpArrayI fDEId
list of Detection element to which this local board is connected
MpPair_t GetPosition() const
given position (line, col)
Int_t GetDEIdByChamber(Int_t chamberId) const
void SetSwitch(UInt_t swit)
Set switch in a compact way.
AliMpLocalBoard()
Not implemented.
UInt_t GetSwitch() const
Get switch in a compact way.
Int_t GetValue(Int_t index) const
static Int_t NofTrackingChambers()
Return number of tracking chambers.
virtual ~AliMpLocalBoard()
static Int_t NofTriggerChambers()