AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerGUIboard Class Reference

Trigger GUI utility class: single board object. More...

#include <AliMUONTriggerGUIboard.h>

Inheritance diagram for AliMUONTriggerGUIboard:

Public Member Functions

 AliMUONTriggerGUIboard ()
 
 AliMUONTriggerGUIboard (TRootIOCtor *ioCtor)
 
virtual ~AliMUONTriggerGUIboard ()
 
Char_t * GetBoardName () const
 get the standard name of this board More...
 
Char_t * GetCrateName () const
 get the name of the crate containing this board More...
 
UShort_t GetStatus () const
 get the working status of this board More...
 
Int_t GetNumber () const
 get the number of this board More...
 
Int_t GetDetElemId () const
 get the id of the detector element More...
 
Int_t GetIdCircuit () const
 get the id of the circuit More...
 
Int_t GetSide () const
 get detector side (Left=0 , Right=1) More...
 
Int_t GetLine () const
 get line More...
 
Int_t GetCol () const
 get column More...
 
void SetStatus (UShort_t s)
 set the working status of this board More...
 
void SetBoardName (const Char_t *name)
 set the standard name of this board More...
 
void SetCrateName (const Char_t *name)
 set the name of the crate containing this board More...
 
void SetDetElemId (Int_t id)
 set the number of the detector element containing this board More...
 
void SetNumber (Int_t id)
 set the number of this board More...
 
void AddPadX (const AliMpPad &pad, Int_t ich)
 add a mapping x-pad More...
 
void AddPadY (const AliMpPad &pad, Int_t ich)
 add a mapping y-pad More...
 
void MakeGeometry ()
 create the display geometry from the mapping pads More...
 
void SetDigitX (Int_t imt, Int_t is, Int_t amp)
 set an x-strip digit in a chamber with amplitude = amp More...
 
void SetDigitY (Int_t imt, Int_t is, Int_t amp)
 set a y-strip digit in a chamber with amplitude = amp More...
 
UChar_t GetYOver () const
 get neighbouring boards with common y strips More...
 
UChar_t GetPosition () const
 get the board position inside the detector element in y direction More...
 
Int_t GetXDig (Int_t imt, Int_t is) const
 get the digit amplitude for an x-strip in a given chamber More...
 
Int_t GetYDig (Int_t imt, Int_t is) const
 get the digit amplitude for a y-strip in a given chamber More...
 
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 More...
 
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 More...
 
TBox * GetXDigBox (Int_t imt, Int_t is) const
 get x-strip box for display More...
 
TBox * GetYDigBox (Int_t imt, Int_t is) const
 get y-strip box for display More...
 
Float_t GetXCenter (Int_t imt) const
 get x-center of the board in chamber imt More...
 
Float_t GetYCenter (Int_t imt) const
 get y-center of the board in chamber imt More...
 
Float_t GetZCenter (Int_t imt) const
 get z-center of the board in chamber imt More...
 
Float_t GetXWidth (Int_t imt) const
 get x-width of the board in chamber imt More...
 
Float_t GetYWidth (Int_t imt) const
 get y-width of the board in chamber imt More...
 
Int_t GetXSix () const
 get x-index in detector element for an x-strip More...
 
Int_t GetXSiy1 () const
 get first y-index in detector element for an x-strip More...
 
Int_t GetXSiy2 () const
 get last y-index in detector element for an x-strip More...
 
Int_t GetYSix1 () const
 get first x-index in detector element for a y-strip More...
 
Int_t GetYSix2 () const
 get last x-index in detector element for a y-strip More...
 
Int_t GetYSiy () const
 get y-index in detector element for a y-strip More...
 
Int_t GetNStripX () const
 get number of x strips More...
 
Int_t GetNStripY () const
 get number of y strips More...
 
void SetOpen (Bool_t open)
 set true if this board has a gui active More...
 
Bool_t IsOpen () const
 true if this board has a gui active More...
 
void ClearXDigits ()
 delete the set x-digits More...
 
void ClearYDigits ()
 delete the set y-digits More...
 
void PrintBoard () const
 print information on this board More...
 

Private Types

enum  { kNMT = 4, kNS = 16 }
 

Private Member Functions

 AliMUONTriggerGUIboard (const AliMUONTriggerGUIboard &board)
 Not implemented. More...
 
AliMUONTriggerGUIboardoperator= (const AliMUONTriggerGUIboard &board)
 Not implemented. More...
 

Private Attributes

TString * fName
 Board name LCxLxBx or RCxLxBx. More...
 
TString * fCrateName
 Crate name. More...
 
Int_t fID
 Board array number. More...
 
UShort_t fStatus
 Board status. More...
 
UChar_t fPosition
 Y-boards position. More...
 
UChar_t fYOver
 Y-boards with common y-strips. More...
 
Float_t fXCenter [kNMT]
 X-center of the board. More...
 
Float_t fYCenter [kNMT]
 Y-center of the board. More...
 
Float_t fZCenter [kNMT]
 Z-center of the board. More...
 
Float_t fXWidth [kNMT]
 X-width of the board. More...
 
Float_t fYWidth [kNMT]
 Y-width of the board. More...
 
Int_t fXSix
 X-strips ix index in the board. More...
 
Int_t fXSiy1
 X-strips first iy index in the board. More...
 
Int_t fXSiy2
 X-strips last iy index in the board. More...
 
Int_t fYSix1
 Y-strips first ix index in the board. More...
 
Int_t fYSix2
 Y-strips last ix index in the board. More...
 
Int_t fYSiy
 Y-strips iy index in the board. More...
 
Int_t fDetElemId
 Detector element ID (modulo 100) More...
 
Int_t fIdCircuit
 Circuit number. More...
 
UChar_t fXDig [kNMT][kNS]
 X-digits amplitude, set by GUI. More...
 
UChar_t fYDig [kNMT][kNS]
 Y-digits amplitude, set by GUI. More...
 
TBox * fXDigBox [kNMT][kNS]
 X-digits boxes. More...
 
TBox * fYDigBox [kNMT][kNS]
 Y-digits boxes. More...
 
Bool_t fIsOpen
 Selection flag for the digits map. More...
 
Int_t fNPadsX [kNMT]
 adding pads from mapping to calculate the board geometry More...
 
Int_t fNPadsY [kNMT]
 nr of added mapping pads in y More...
 
TClonesArray * fPadsX [kNMT]
 array of mapping pads in x More...
 
TClonesArray * fPadsY [kNMT]
 array of mapping pads in y More...
 

Detailed Description

Trigger GUI utility class: single board object.

Single trigger board object with geometry information, strips and digits

Author
Bogdan Vulpescu, LPC Clermont-Ferrand

Definition at line 20 of file AliMUONTriggerGUIboard.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
kNMT 
kNS 

Definition at line 140 of file AliMUONTriggerGUIboard.h.

Constructor & Destructor Documentation

AliMUONTriggerGUIboard::AliMUONTriggerGUIboard ( )

board main constructor

Definition at line 39 of file AliMUONTriggerGUIboard.cxx.

AliMUONTriggerGUIboard::AliMUONTriggerGUIboard ( TRootIOCtor *  ioCtor)

board standard constructor

Definition at line 115 of file AliMUONTriggerGUIboard.cxx.

AliMUONTriggerGUIboard::~AliMUONTriggerGUIboard ( )
virtual

board destructor

Definition at line 147 of file AliMUONTriggerGUIboard.cxx.

AliMUONTriggerGUIboard::AliMUONTriggerGUIboard ( const AliMUONTriggerGUIboard board)
private

Not implemented.

Member Function Documentation

void AliMUONTriggerGUIboard::AddPadX ( const AliMpPad pad,
Int_t  ich 
)
inline

add a mapping x-pad

Definition at line 60 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards().

void AliMUONTriggerGUIboard::AddPadY ( const AliMpPad pad,
Int_t  ich 
)
inline

add a mapping y-pad

Definition at line 65 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards().

void AliMUONTriggerGUIboard::ClearXDigits ( )

delete the set x-digits

delete the set x-digits

Definition at line 187 of file AliMUONTriggerGUIboard.cxx.

Referenced by AliMUONTriggerGUI::HandleMenu(), and AliMUONTriggerGUIbdmap::ResetDigits().

void AliMUONTriggerGUIboard::ClearYDigits ( )

delete the set y-digits

delete the set y-digits

Definition at line 200 of file AliMUONTriggerGUIboard.cxx.

Referenced by AliMUONTriggerGUI::HandleMenu(), and AliMUONTriggerGUIbdmap::ResetDigits().

Char_t* AliMUONTriggerGUIboard::GetBoardName ( ) const
inline

get the standard name of this board

Definition at line 30 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards(), AliMUONTriggerGUI::OpenBoard(), and PrintBoard().

Int_t AliMUONTriggerGUIboard::GetCol ( ) const

get column

get detector side

Definition at line 326 of file AliMUONTriggerGUIboard.cxx.

Referenced by AliMUONTriggerGUIdimap::DrawMaps().

Char_t* AliMUONTriggerGUIboard::GetCrateName ( ) const
inline

get the name of the crate containing this board

Definition at line 32 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards().

Int_t AliMUONTriggerGUIboard::GetDetElemId ( ) const
inline
Int_t AliMUONTriggerGUIboard::GetIdCircuit ( ) const
inline
Int_t AliMUONTriggerGUIboard::GetLine ( ) const

get line

get detector side

Definition at line 312 of file AliMUONTriggerGUIboard.cxx.

Referenced by AliMUONTriggerGUIdimap::DrawMaps().

Int_t AliMUONTriggerGUIboard::GetNStripX ( ) const
inline

get number of x strips

Definition at line 121 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::CreateDigitStore(), and PrintBoard().

Int_t AliMUONTriggerGUIboard::GetNStripY ( ) const
inline

get number of y strips

Definition at line 123 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::CreateDigitStore(), and PrintBoard().

UChar_t AliMUONTriggerGUIboard::GetPosition ( ) const
inline
Int_t AliMUONTriggerGUIboard::GetSide ( ) const

get detector side (Left=0 , Right=1)

get detector side

Definition at line 340 of file AliMUONTriggerGUIboard.cxx.

Referenced by AliMUONTriggerGUIdimap::DrawMaps().

UShort_t AliMUONTriggerGUIboard::GetStatus ( ) const
inline

get the working status of this board

Definition at line 34 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::OpenBoard().

Float_t AliMUONTriggerGUIboard::GetXCenter ( Int_t  imt) const
inline
Int_t AliMUONTriggerGUIboard::GetXDig ( Int_t  imt,
Int_t  is 
) const
inline

get the digit amplitude for an x-strip in a given chamber

Definition at line 83 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::CreateDigitStore(), AliMUONTriggerGUIbdmap::DrawDigits(), and AliMUONTriggerGUIdimap::DrawMaps().

TBox* AliMUONTriggerGUIboard::GetXDigBox ( Int_t  imt,
Int_t  is 
) const
inline

get x-strip box for display

Definition at line 93 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUIdimap::DrawMaps().

Int_t AliMUONTriggerGUIboard::GetXSix ( ) const
inline
Int_t AliMUONTriggerGUIboard::GetXSiy2 ( ) const
inline
Float_t AliMUONTriggerGUIboard::GetXWidth ( Int_t  imt) const
inline
Float_t AliMUONTriggerGUIboard::GetYCenter ( Int_t  imt) const
inline
Int_t AliMUONTriggerGUIboard::GetYDig ( Int_t  imt,
Int_t  is 
) const
inline

get the digit amplitude for a y-strip in a given chamber

Definition at line 85 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::CreateDigitStore(), AliMUONTriggerGUIbdmap::DrawDigits(), and AliMUONTriggerGUIdimap::DrawMaps().

TBox* AliMUONTriggerGUIboard::GetYDigBox ( Int_t  imt,
Int_t  is 
) const
inline

get y-strip box for display

Definition at line 95 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUIdimap::DrawMaps().

UChar_t AliMUONTriggerGUIboard::GetYOver ( ) const
inline
Int_t AliMUONTriggerGUIboard::GetYSix2 ( ) const
inline
Int_t AliMUONTriggerGUIboard::GetYSiy ( ) const
inline
Float_t AliMUONTriggerGUIboard::GetYWidth ( Int_t  imt) const
inline
Float_t AliMUONTriggerGUIboard::GetZCenter ( Int_t  imt) const
inline

get z-center of the board in chamber imt

Definition at line 102 of file AliMUONTriggerGUIboard.h.

Referenced by PrintBoard().

Bool_t AliMUONTriggerGUIboard::IsOpen ( ) const
inline

true if this board has a gui active

Definition at line 128 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUIdimap::DoUpdate().

void AliMUONTriggerGUIboard::MakeGeometry ( )

create the display geometry from the mapping pads

create the display geometry from the mapping pads

Definition at line 213 of file AliMUONTriggerGUIboard.cxx.

Referenced by AliMUONTriggerGUI::InitBoards().

AliMUONTriggerGUIboard& AliMUONTriggerGUIboard::operator= ( const AliMUONTriggerGUIboard board)
private

Not implemented.

void AliMUONTriggerGUIboard::PrintBoard ( ) const

print information on this board

print information on this board

Definition at line 354 of file AliMUONTriggerGUIboard.cxx.

void AliMUONTriggerGUIboard::SetBoardName ( const Char_t *  name)
inline

set the standard name of this board

Definition at line 51 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards().

void AliMUONTriggerGUIboard::SetCrateName ( const Char_t *  name)
inline

set the name of the crate containing this board

Definition at line 53 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards().

void AliMUONTriggerGUIboard::SetDetElemId ( Int_t  id)
inline

set the number of the detector element containing this board

Definition at line 55 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards().

void AliMUONTriggerGUIboard::SetDigitX ( Int_t  imt,
Int_t  is,
Int_t  amp 
)
inline

set an x-strip digit in a chamber with amplitude = amp

Definition at line 73 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUIbdmap::DoDigits(), AliMUONTriggerGUIbdmap::DrawDigits(), AliMUONTriggerGUI::FETboard(), and AliMUONTriggerGUIbdmap::ResetDigits().

void AliMUONTriggerGUIboard::SetDigitY ( Int_t  imt,
Int_t  is,
Int_t  amp 
)
inline

set a y-strip digit in a chamber with amplitude = amp

Definition at line 76 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUIbdmap::DoDigits(), AliMUONTriggerGUIbdmap::DrawDigits(), AliMUONTriggerGUI::FETboard(), and AliMUONTriggerGUIbdmap::ResetDigits().

void AliMUONTriggerGUIboard::SetNumber ( Int_t  id)
inline

set the number of this board

Definition at line 57 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards().

void AliMUONTriggerGUIboard::SetOpen ( Bool_t  open)
inline

set true if this board has a gui active

Definition at line 126 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUIbdmap::DoClose(), and AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIboard::SetStatus ( UShort_t  s)
inline

set the working status of this board

Definition at line 49 of file AliMUONTriggerGUIboard.h.

Referenced by AliMUONTriggerGUI::InitBoards().

void AliMUONTriggerGUIboard::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

set coordinates of "is" x-strip box in chamber "imt"

Definition at line 163 of file AliMUONTriggerGUIboard.cxx.

Referenced by AliMUONTriggerGUI::SetStripBoxes().

void AliMUONTriggerGUIboard::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

set coordinates of "is" y-strip box in chamber "imt"

Definition at line 175 of file AliMUONTriggerGUIboard.cxx.

Referenced by AliMUONTriggerGUI::SetStripBoxes().

Member Data Documentation

TString* AliMUONTriggerGUIboard::fCrateName
private

Crate name.

Definition at line 148 of file AliMUONTriggerGUIboard.h.

Referenced by GetCrateName(), and SetCrateName().

Int_t AliMUONTriggerGUIboard::fDetElemId
private

Detector element ID (modulo 100)

Definition at line 168 of file AliMUONTriggerGUIboard.h.

Referenced by GetDetElemId(), and SetDetElemId().

Int_t AliMUONTriggerGUIboard::fID
private

Board array number.

Definition at line 149 of file AliMUONTriggerGUIboard.h.

Referenced by GetNumber(), and SetNumber().

Int_t AliMUONTriggerGUIboard::fIdCircuit
private

Circuit number.

Definition at line 170 of file AliMUONTriggerGUIboard.h.

Referenced by GetIdCircuit(), and MakeGeometry().

Bool_t AliMUONTriggerGUIboard::fIsOpen
private

Selection flag for the digits map.

Definition at line 178 of file AliMUONTriggerGUIboard.h.

Referenced by IsOpen(), and SetOpen().

TString* AliMUONTriggerGUIboard::fName
private

Board name LCxLxBx or RCxLxBx.

Definition at line 147 of file AliMUONTriggerGUIboard.h.

Referenced by GetBoardName(), GetCol(), GetLine(), GetSide(), MakeGeometry(), SetBoardName(), and ~AliMUONTriggerGUIboard().

Int_t AliMUONTriggerGUIboard::fNPadsX[kNMT]
private

adding pads from mapping to calculate the board geometry

nr of added mapping pads in x

Definition at line 181 of file AliMUONTriggerGUIboard.h.

Referenced by AddPadX(), and MakeGeometry().

Int_t AliMUONTriggerGUIboard::fNPadsY[kNMT]
private

nr of added mapping pads in y

Definition at line 182 of file AliMUONTriggerGUIboard.h.

Referenced by AddPadY(), and MakeGeometry().

TClonesArray* AliMUONTriggerGUIboard::fPadsX[kNMT]
private

array of mapping pads in x

Definition at line 183 of file AliMUONTriggerGUIboard.h.

Referenced by AddPadX(), and MakeGeometry().

TClonesArray* AliMUONTriggerGUIboard::fPadsY[kNMT]
private

array of mapping pads in y

Definition at line 184 of file AliMUONTriggerGUIboard.h.

Referenced by AddPadY(), and MakeGeometry().

UChar_t AliMUONTriggerGUIboard::fPosition
private

Y-boards position.

Definition at line 151 of file AliMUONTriggerGUIboard.h.

Referenced by GetPosition(), and MakeGeometry().

UShort_t AliMUONTriggerGUIboard::fStatus
private

Board status.

Definition at line 150 of file AliMUONTriggerGUIboard.h.

Referenced by GetStatus(), and SetStatus().

Float_t AliMUONTriggerGUIboard::fXCenter[kNMT]
private

X-center of the board.

Definition at line 154 of file AliMUONTriggerGUIboard.h.

Referenced by GetXCenter(), and MakeGeometry().

UChar_t AliMUONTriggerGUIboard::fXDig[kNMT][kNS]
private

X-digits amplitude, set by GUI.

Definition at line 172 of file AliMUONTriggerGUIboard.h.

Referenced by ClearXDigits(), GetXDig(), and SetDigitX().

TBox* AliMUONTriggerGUIboard::fXDigBox[kNMT][kNS]
private

X-digits boxes.

Definition at line 175 of file AliMUONTriggerGUIboard.h.

Referenced by GetXDigBox(), SetXDigBox(), and ~AliMUONTriggerGUIboard().

Int_t AliMUONTriggerGUIboard::fXSix
private

X-strips ix index in the board.

Definition at line 160 of file AliMUONTriggerGUIboard.h.

Referenced by GetXSix(), and MakeGeometry().

Int_t AliMUONTriggerGUIboard::fXSiy1
private

X-strips first iy index in the board.

Definition at line 161 of file AliMUONTriggerGUIboard.h.

Referenced by GetXSiy1(), and MakeGeometry().

Int_t AliMUONTriggerGUIboard::fXSiy2
private

X-strips last iy index in the board.

Definition at line 162 of file AliMUONTriggerGUIboard.h.

Referenced by GetXSiy2(), and MakeGeometry().

Float_t AliMUONTriggerGUIboard::fXWidth[kNMT]
private

X-width of the board.

Definition at line 157 of file AliMUONTriggerGUIboard.h.

Referenced by GetXWidth(), and MakeGeometry().

Float_t AliMUONTriggerGUIboard::fYCenter[kNMT]
private

Y-center of the board.

Definition at line 155 of file AliMUONTriggerGUIboard.h.

Referenced by GetYCenter(), and MakeGeometry().

UChar_t AliMUONTriggerGUIboard::fYDig[kNMT][kNS]
private

Y-digits amplitude, set by GUI.

Definition at line 173 of file AliMUONTriggerGUIboard.h.

Referenced by ClearYDigits(), GetYDig(), and SetDigitY().

TBox* AliMUONTriggerGUIboard::fYDigBox[kNMT][kNS]
private

Y-digits boxes.

Definition at line 176 of file AliMUONTriggerGUIboard.h.

Referenced by GetYDigBox(), SetYDigBox(), and ~AliMUONTriggerGUIboard().

UChar_t AliMUONTriggerGUIboard::fYOver
private

Y-boards with common y-strips.

Definition at line 152 of file AliMUONTriggerGUIboard.h.

Referenced by GetYOver(), and MakeGeometry().

Int_t AliMUONTriggerGUIboard::fYSix1
private

Y-strips first ix index in the board.

Definition at line 164 of file AliMUONTriggerGUIboard.h.

Referenced by GetYSix1(), and MakeGeometry().

Int_t AliMUONTriggerGUIboard::fYSix2
private

Y-strips last ix index in the board.

Definition at line 165 of file AliMUONTriggerGUIboard.h.

Referenced by GetYSix2(), and MakeGeometry().

Int_t AliMUONTriggerGUIboard::fYSiy
private

Y-strips iy index in the board.

Definition at line 166 of file AliMUONTriggerGUIboard.h.

Referenced by GetYSiy(), and MakeGeometry().

Float_t AliMUONTriggerGUIboard::fYWidth[kNMT]
private

Y-width of the board.

Definition at line 158 of file AliMUONTriggerGUIboard.h.

Referenced by GetYWidth(), and MakeGeometry().

Float_t AliMUONTriggerGUIboard::fZCenter[kNMT]
private

Z-center of the board.

Definition at line 156 of file AliMUONTriggerGUIboard.h.

Referenced by GetZCenter(), and MakeGeometry().


The documentation for this class was generated from the following files: