ROOT logo
AliRoot » MUON » AliMUONTriggerGUIboard

class AliMUONTriggerGUIboard: public TObject

 \class AliMUONTriggerGUIboard

 Single trigger board object with geometry information, strips and digits

 \author Bogdan Vulpescu, LPC Clermont-Ferrand

Function Members (Methods)

public:
AliMUONTriggerGUIboard()
AliMUONTriggerGUIboard(TRootIOCtor* ioCtor)
virtual~AliMUONTriggerGUIboard()
voidTObject::AbstractMethod(const char* method) const
voidAddPadX(const AliMpPad& pad, Int_t ich)
voidAddPadY(const AliMpPad& pad, Int_t ich)
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* = "")
voidClearXDigits()
voidClearYDigits()
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
Char_t*GetBoardName() const
Int_tGetCol() const
Char_t*GetCrateName() const
Int_tGetDetElemId() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tGetIdCircuit() const
Int_tGetLine() const
virtual const char*TObject::GetName() const
Int_tGetNStripX() const
Int_tGetNStripY() const
Int_tGetNumber() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
UChar_tGetPosition() const
Int_tGetSide() const
UShort_tGetStatus() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Float_tGetXCenter(Int_t imt) const
Int_tGetXDig(Int_t imt, Int_t is) const
TBox*GetXDigBox(Int_t imt, Int_t is) const
Int_tGetXSix() const
Int_tGetXSiy1() const
Int_tGetXSiy2() const
Float_tGetXWidth(Int_t imt) const
Float_tGetYCenter(Int_t imt) const
Int_tGetYDig(Int_t imt, Int_t is) const
TBox*GetYDigBox(Int_t imt, Int_t is) const
UChar_tGetYOver() const
Int_tGetYSix1() const
Int_tGetYSix2() const
Int_tGetYSiy() const
Float_tGetYWidth(Int_t imt) const
Float_tGetZCenter(Int_t imt) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
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
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tIsOpen() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidMakeGeometry()
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 voidTObject::Print(Option_t* option = "") const
voidPrintBoard() 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)
voidSetBoardName(const Char_t* name)
voidSetCrateName(const Char_t* name)
voidSetDetElemId(Int_t id)
voidSetDigitX(Int_t imt, Int_t is, Int_t amp)
voidSetDigitY(Int_t imt, Int_t is, Int_t amp)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetNumber(Int_t id)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOpen(Bool_t open)
voidSetStatus(UShort_t s)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetXDigBox(Int_t imt, Int_t is, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
voidSetYDigBox(Int_t imt, Int_t is, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
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:
TString*fCrateName/< Crate name
Int_tfDetElemId/< Detector element ID (modulo 100)
Int_tfID/< Board array number
Int_tfIdCircuit/< Circuit number
Bool_tfIsOpen/< Selection flag for the digits map
Int_tfNPadsX[4]/< nr of added mapping pads in x
Int_tfNPadsY[4]/< nr of added mapping pads in y
TString*fName/< Board name LCxLxBx or RCxLxBx
TClonesArray*fPadsX[4]/< array of mapping pads in x
TClonesArray*fPadsY[4]/< array of mapping pads in y
UChar_tfPosition/< Y-boards position
UShort_tfStatus/< Board status
Float_tfXCenter[4]/< X-center of the board
UChar_tfXDig[4][16]/< X-digits amplitude, set by GUI
TBox*fXDigBox[4][16]/< X-digits boxes
Int_tfXSix/< X-strips ix index in the board
Int_tfXSiy1/< X-strips first iy index in the board
Int_tfXSiy2/< X-strips last iy index in the board
Float_tfXWidth[4]/< X-width of the board
Float_tfYCenter[4]/< Y-center of the board
UChar_tfYDig[4][16]/< Y-digits amplitude, set by GUI
TBox*fYDigBox[4][16]/< Y-digits boxes
UChar_tfYOver/< Y-boards with common y-strips
Int_tfYSix1/< Y-strips first ix index in the board
Int_tfYSix2/< Y-strips last ix index in the board
Int_tfYSiy/< Y-strips iy index in the board
Float_tfYWidth[4]/< Y-width of the board
Float_tfZCenter[4]/< Z-center of the board

Class Charts

Inheritance Chart:
TObject
AliMUONTriggerGUIboard

Function documentation

AliMUONTriggerGUIboard()
 board main constructor
AliMUONTriggerGUIboard(TRootIOCtor* ioCtor)
 board standard constructor
~AliMUONTriggerGUIboard()
 board destructor
void SetXDigBox(Int_t imt, Int_t is, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 set coordinates of "is" x-strip box in chamber "imt"
void SetYDigBox(Int_t imt, Int_t is, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 set coordinates of "is" y-strip box in chamber "imt"
void ClearXDigits()
 delete the set x-digits
void ClearYDigits()
 delete the set y-digits
void MakeGeometry()
 create the display geometry from the mapping pads
Int_t GetLine() const
 get detector side
Int_t GetCol() const
 get detector side
Int_t GetSide() const
 get detector side
void PrintBoard() const
 print information on this board
AliMUONTriggerGUIboard()
Char_t * GetBoardName() const
 get the standard name of this board
{ return (Char_t*)(fName->Data()); }
Char_t * GetCrateName() const
 get the name of the crate containing this board
{ return (Char_t*)(fCrateName->Data()); }
UShort_t GetStatus() const
 get the working status of this board
{ return fStatus; }
Int_t GetNumber() const
 get the number of this board
{ return fID; }
Int_t GetDetElemId() const
 get the id of the detector element
{ return fDetElemId; }
Int_t GetIdCircuit() const
 get the id of the circuit
{ return fIdCircuit; }
void SetStatus(UShort_t s)
 set the working status of this board
{ fStatus = s; }
void SetBoardName(const Char_t* name)
 set the standard name of this board
{ fName = new TString(name); }
void SetCrateName(const Char_t* name)
 set the name of the crate containing this board
{ fCrateName = new TString(name); }
void SetDetElemId(Int_t id)
 set the number of the detector element containing this board
{ fDetElemId = id; }
void SetNumber(Int_t id)
 set the number of this board
{ fID = id; }
void AddPadX(const AliMpPad& pad, Int_t ich)
 add a mapping x-pad
void AddPadY(const AliMpPad& pad, Int_t ich)
 add a mapping y-pad
void SetDigitX(Int_t imt, Int_t is, Int_t amp)
 set an x-strip digit in a chamber with amplitude = amp
void SetDigitY(Int_t imt, Int_t is, Int_t amp)
 set a  y-strip digit in a chamber with amplitude = amp
UChar_t GetYOver() const
 get neighbouring boards with common y strips
{ return fYOver; }
UChar_t GetPosition() const
 get the board position inside the detector element in y direction
{ return fPosition; }
Int_t GetXDig(Int_t imt, Int_t is) const
 get the digit amplitude for an x-strip in a given chamber
{ return fXDig[imt][is]; }
Int_t GetYDig(Int_t imt, Int_t is) const
 get the digit amplitude for a  y-strip in a given chamber
{ return fYDig[imt][is]; }
TBox * GetXDigBox(Int_t imt, Int_t is) const
 get x-strip box for display
{ return fXDigBox[imt][is]; }
TBox * GetYDigBox(Int_t imt, Int_t is) const
 get y-strip box for display
{ return fYDigBox[imt][is]; }
Float_t GetXCenter(Int_t imt) const
 get x-center of the board in chamber imt
{ return fXCenter[imt]; }
Float_t GetYCenter(Int_t imt) const
 get y-center of the board in chamber imt
{ return fYCenter[imt]; }
Float_t GetZCenter(Int_t imt) const
 get z-center of the board in chamber imt
{ return fZCenter[imt]; }
Float_t GetXWidth(Int_t imt) const
 get x-width of the board in chamber imt
{ return fXWidth[imt]; }
Float_t GetYWidth(Int_t imt) const
 get y-width of the board in chamber imt
{ return fYWidth[imt]; }
Int_t GetXSix() const
 get x-index in detector element for an x-strip
{ return fXSix; }
Int_t GetXSiy1() const
 get first y-index in detector element for an x-strip
{ return fXSiy1; }
Int_t GetXSiy2() const
 get last  y-index in detector element for an x-strip
{ return fXSiy2; }
Int_t GetYSix1() const
 get first x-index in detector element for a  y-strip
{ return fYSix1; }
Int_t GetYSix2() const
 get last  x-index in detector element for a  y-strip
{ return fYSix2; }
Int_t GetYSiy() const
 get y-index in detector element for a y-strip
{ return fYSiy; }
Int_t GetNStripX() const
 get number of x strips
{ return GetXSiy2() - GetXSiy1() + 1; }
Int_t GetNStripY() const
 get number of y strips
{ return GetYSix2() - GetYSix1() + 1; }
void SetOpen(Bool_t open)
 set true if this board has a gui active
{ fIsOpen = open; }
Bool_t IsOpen() const
 true if this board has a gui active
{ return fIsOpen; }
AliMUONTriggerGUIboard& operator=(const AliMUONTriggerGUIboard& board)
 Not implemented