1 #ifndef ALIMUONTRIGGERGUIBOARD_H
2 #define ALIMUONTRIGGERGUIBOARD_H
74 fXDig[imt][is] = (UChar_t)amp; };
77 fYDig[imt][is] = (UChar_t)amp; };
83 Int_t
GetXDig(Int_t imt, Int_t is)
const {
return fXDig[imt][is]; };
85 Int_t
GetYDig(Int_t imt, Int_t is)
const {
return fYDig[imt][is]; };
88 void SetXDigBox(Int_t imt, Int_t is, Double_t x1, Double_t y1, Double_t x2, Double_t y2);
90 void SetYDigBox(Int_t imt, Int_t is, Double_t x1, Double_t y1, Double_t x2, Double_t y2);
UChar_t fXDig[kNMT][kNS]
X-digits amplitude, set by GUI.
Int_t fNPadsX[kNMT]
adding pads from mapping to calculate the board geometry
UChar_t GetYOver() const
get neighbouring boards with common y strips
Int_t GetYSix1() const
get first x-index in detector element for a y-strip
Int_t GetNumber() const
get the number of this board
UChar_t GetPosition() const
get the board position inside the detector element in y direction
Float_t fYCenter[kNMT]
Y-center of the board.
Int_t GetSide() const
get detector side (Left=0 , Right=1)
UChar_t fPosition
Y-boards position.
Int_t GetYDig(Int_t imt, Int_t is) const
get the digit amplitude for a y-strip in a given chamber
Int_t GetXSix() const
get x-index in detector element for an x-strip
TBox * fXDigBox[kNMT][kNS]
X-digits boxes.
virtual ~AliMUONTriggerGUIboard()
void MakeGeometry()
create the display geometry from the mapping pads
Int_t GetCol() const
get column
void SetNumber(Int_t id)
set the number of this board
TBox * GetXDigBox(Int_t imt, Int_t is) const
get x-strip box for display
TClonesArray * fPadsX[kNMT]
array of mapping pads in x
TString * fName
Board name LCxLxBx or RCxLxBx.
TBox * fYDigBox[kNMT][kNS]
Y-digits boxes.
Float_t fXWidth[kNMT]
X-width of the board.
Char_t * GetBoardName() const
get the standard name of this board
TClonesArray * fPadsY[kNMT]
array of mapping pads in y
Float_t GetYCenter(Int_t imt) const
get y-center of the board in chamber imt
Int_t GetYSix2() const
get last x-index in detector element for a y-strip
void AddPadY(const AliMpPad &pad, Int_t ich)
add a mapping y-pad
void SetBoardName(const Char_t *name)
set the standard name of this board
void SetCrateName(const Char_t *name)
set the name of the crate containing this board
void SetStatus(UShort_t s)
set the working status of this board
Int_t GetIdCircuit() const
get the id of the circuit
Int_t fXSix
X-strips ix index in the board.
void PrintBoard() const
print information on this board
void SetYDigBox(Int_t imt, Int_t is, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
set y-strip box for display
void AddPadX(const AliMpPad &pad, Int_t ich)
add a mapping x-pad
void ClearYDigits()
delete the set y-digits
Int_t GetLine() const
get line
void SetXDigBox(Int_t imt, Int_t is, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
set x-strip box for display
Int_t fDetElemId
Detector element ID (modulo 100)
UShort_t GetStatus() const
get the working status of this board
Int_t fID
Board array number.
void SetDigitY(Int_t imt, Int_t is, Int_t amp)
set a y-strip digit in a chamber with amplitude = amp
Float_t GetXWidth(Int_t imt) const
get x-width of the board in chamber imt
Int_t fYSix1
Y-strips first ix index in the board.
void SetOpen(Bool_t open)
set true if this board has a gui active
UShort_t fStatus
Board status.
Char_t * GetCrateName() const
get the name of the crate containing this board
Float_t fYWidth[kNMT]
Y-width of the board.
UChar_t fYOver
Y-boards with common y-strips.
AliMUONTriggerGUIboard & operator=(const AliMUONTriggerGUIboard &board)
Not implemented.
Int_t GetXSiy2() const
get last y-index in detector element for an x-strip
Int_t GetDetElemId() const
get the id of the detector element
Int_t GetYSiy() const
get y-index in detector element for a y-strip
Bool_t fIsOpen
Selection flag for the digits map.
Int_t fYSiy
Y-strips iy index in the board.
void ClearXDigits()
delete the set x-digits
Float_t GetYWidth(Int_t imt) const
get y-width of the board in chamber imt
Float_t GetXCenter(Int_t imt) const
get x-center of the board in chamber imt
TBox * GetYDigBox(Int_t imt, Int_t is) const
get y-strip box for display
Int_t fYSix2
Y-strips last ix index in the board.
Int_t fIdCircuit
Circuit number.
Int_t GetXSiy1() const
get first y-index in detector element for an x-strip
Trigger GUI utility class: single board object.
Float_t fZCenter[kNMT]
Z-center of the board.
Int_t fNPadsY[kNMT]
nr of added mapping pads in y
Int_t fXSiy1
X-strips first iy index in the board.
Bool_t IsOpen() const
true if this board has a gui active
Float_t GetZCenter(Int_t imt) const
get z-center of the board in chamber imt
UChar_t fYDig[kNMT][kNS]
Y-digits amplitude, set by GUI.
void SetDetElemId(Int_t id)
set the number of the detector element containing this board
Class which encapsuate all information about a pad.
Int_t GetNStripX() const
get number of x strips
Int_t GetNStripY() const
get number of y strips
TString * fCrateName
Crate name.
Float_t fXCenter[kNMT]
X-center of the board.
Int_t fXSiy2
X-strips last iy index in the board.
Int_t GetXDig(Int_t imt, Int_t is) const
get the digit amplitude for an x-strip in a given chamber
void SetDigitX(Int_t imt, Int_t is, Int_t amp)
set an x-strip digit in a chamber with amplitude = amp