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

Trigger GUI utility class: single board map of the strips/digits. More...

#include <AliMUONTriggerGUIbdmap.h>

Inheritance diagram for AliMUONTriggerGUIbdmap:

Public Member Functions

 AliMUONTriggerGUIbdmap (const TGWindow *p, const TGWindow *mainWindow, UInt_t w, UInt_t h)
 
virtual ~AliMUONTriggerGUIbdmap ()
 
void SetName (const Char_t *name)
 set the name of the board gui window More...
 
void SetBoard (AliMUONTriggerGUIboard *const b)
 set the board associated to this instance More...
 
void SetBoard (TObjArray *const boards, Int_t id)
 set the board associated to this instance, from boards array and id More...
 
void SetLoader (AliLoader *const loader)
 set the current muon loader More...
 
void SetMCDataInterface (AliMUONMCDataInterface *const mc)
 set the MC data interface More...
 
void SetRawDigitStore (AliMUONDigitStoreV1 *const ds)
 set the digit store from raw data More...
 
void SetRawTriggerStore (AliMUONTriggerStoreV1 *const ts)
 set the trigger store from raw data More...
 
void SetCrateManager (AliMUONTriggerCrateStore *const crates)
 set the trigger boards manager More...
 
void Show ()
 
void DrawStrips (Bool_t bx, Bool_t by)
 
void DrawDigits (Bool_t bx, Bool_t by)
 
void DrawClear ()
 
void EditStrips (Int_t event, Int_t x, Int_t y, TObject *sel)
 
void Init ()
 
void HandleButtons (Int_t id=-1)
 
void HandleEditButton ()
 
void CloseWindow () const
 
void DoClose ()
 
void DoDigits ()
 
void ResetDigits ()
 
void LocalTriggerInfo ()
 

Private Types

enum  { kNBoards = 234, kNMT = 4, kNS = 16 }
 

Private Member Functions

 AliMUONTriggerGUIbdmap (const AliMUONTriggerGUIbdmap &bdmap)
 Not implemented. More...
 
AliMUONTriggerGUIbdmapoperator= (const AliMUONTriggerGUIbdmap &bdmap)
 Not implemented. More...
 

Private Attributes

TGTransientFrame * fMain
 Main board frame. More...
 
TCanvas * fCanvas [kNMT]
 MT canvases. More...
 
TGTextEdit * fLocTrigE
 Window local trigger info. More...
 
AliMUONTriggerGUIboardfBoard
 Current board object. More...
 
AliLoader * fLoader
 The MUON loader. More...
 
AliMUONMCDataInterfacefMCDataInterface
 MC data interface. More...
 
AliMUONDigitStoreV1fRawDigitStore
 Raw data digit store. More...
 
AliMUONTriggerStoreV1fRawTriggerStore
 Raw data trigger store. More...
 
TGCheckButton * fXStrips
 Draw x-strips and digits. More...
 
TGCheckButton * fYStrips
 Draw y-strips and digits. More...
 
TGCheckButton * fEditStrips
 Set/unset the strips. More...
 
TPolyLine * fXDigPL [kNMT][kNS]
 X-strip polyline. More...
 
TPolyLine * fYDigPL [kNMT][kNS]
 Y-strip polyline. More...
 
TBox * fXDigBox [kNMT][kNS]
 X-digit box. More...
 
TBox * fYDigBox [kNMT][kNS]
 Y-digit box. More...
 
TPaveText * fXLabelL [kNMT][kNS]
 X-strip labels left. More...
 
TPaveText * fXLabelR [kNMT][kNS]
 X-strip labels right. More...
 
TPaveText * fYLabelL [kNMT][kNS]
 Y-strip labels left. More...
 
TPaveText * fYLabelR [kNMT][kNS]
 Y-strip labels right. More...
 
Float_t fXWidth [kNMT]
 Board x-width. More...
 
Float_t fYWidth [kNMT]
 Board y-width. More...
 
Float_t fXCenter [kNMT]
 Board x-center. More...
 
Float_t fYCenter [kNMT]
 Board y-center. More...
 
Bool_t fXOn
 x-strips/digits on canvas ? More...
 
Bool_t fYOn
 y-strips/digits on canvas ? More...
 
Bool_t fLabelX
 x-labels exist More...
 
Bool_t fLabelY
 y-labels exist More...
 
Bool_t fIsEditable
 allows set/unset the strips More...
 
UInt_t fCanvasSize
 Size of the canvas. More...
 
Int_t fNStripX
 Number of x-strips on board. More...
 
Int_t fNStripY
 Number of y-strips on board. More...
 
TObjArrayfBoards
 Array with all boards. More...
 
AliMUONCalibrationDatafCalibrationData
 Pointer to calibration data. More...
 
AliMUONTriggerCrateStorefCrateManager
 trigger boards manager More...
 

Detailed Description

Trigger GUI utility class: single board map of the strips/digits.

The gui map of a single board object, strips/digits

Author
Bogdan Vulpescu, LPC Clermont-Ferrand

Definition at line 36 of file AliMUONTriggerGUIbdmap.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
kNBoards 
kNMT 
kNS 

Definition at line 87 of file AliMUONTriggerGUIbdmap.h.

Constructor & Destructor Documentation

AliMUONTriggerGUIbdmap::AliMUONTriggerGUIbdmap ( const TGWindow *  p,
const TGWindow *  mainWindow,
UInt_t  w,
UInt_t  h 
)

frame constructor

Definition at line 65 of file AliMUONTriggerGUIbdmap.cxx.

AliMUONTriggerGUIbdmap::~AliMUONTriggerGUIbdmap ( )
virtual

frame destructor

Definition at line 262 of file AliMUONTriggerGUIbdmap.cxx.

AliMUONTriggerGUIbdmap::AliMUONTriggerGUIbdmap ( const AliMUONTriggerGUIbdmap bdmap)
private

Not implemented.

Member Function Documentation

void AliMUONTriggerGUIbdmap::CloseWindow ( ) const

close dialog in response to window manager close.

Definition at line 1421 of file AliMUONTriggerGUIbdmap.cxx.

void AliMUONTriggerGUIbdmap::DoClose ( )

handle Close button.

Definition at line 1430 of file AliMUONTriggerGUIbdmap.cxx.

void AliMUONTriggerGUIbdmap::DoDigits ( )

set the board digits from GUI input (set/unset)

Definition at line 647 of file AliMUONTriggerGUIbdmap.cxx.

void AliMUONTriggerGUIbdmap::DrawClear ( )

draw the frame of the board image in the canvas

Definition at line 817 of file AliMUONTriggerGUIbdmap.cxx.

Referenced by HandleButtons(), and ResetDigits().

void AliMUONTriggerGUIbdmap::DrawDigits ( Bool_t  bx,
Bool_t  by 
)

draw the digits in "x" or/and "y"

Definition at line 834 of file AliMUONTriggerGUIbdmap.cxx.

Referenced by HandleButtons().

void AliMUONTriggerGUIbdmap::DrawStrips ( Bool_t  bx,
Bool_t  by 
)

draw the "x" or/and "y" strips

Definition at line 1174 of file AliMUONTriggerGUIbdmap.cxx.

Referenced by HandleButtons().

void AliMUONTriggerGUIbdmap::EditStrips ( Int_t  event,
Int_t  x,
Int_t  y,
TObject *  sel 
)

set/unset strips

Definition at line 455 of file AliMUONTriggerGUIbdmap.cxx.

void AliMUONTriggerGUIbdmap::HandleButtons ( Int_t  id = -1)

handle the check buttons

Definition at line 757 of file AliMUONTriggerGUIbdmap.cxx.

void AliMUONTriggerGUIbdmap::HandleEditButton ( )

handle the editable check button

Definition at line 441 of file AliMUONTriggerGUIbdmap.cxx.

Referenced by HandleButtons().

void AliMUONTriggerGUIbdmap::Init ( )

initialize the boards in the four MT

Definition at line 387 of file AliMUONTriggerGUIbdmap.cxx.

Referenced by AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIbdmap::LocalTriggerInfo ( )

print the local trigger

Definition at line 281 of file AliMUONTriggerGUIbdmap.cxx.

Referenced by Show().

AliMUONTriggerGUIbdmap& AliMUONTriggerGUIbdmap::operator= ( const AliMUONTriggerGUIbdmap bdmap)
private

Not implemented.

void AliMUONTriggerGUIbdmap::ResetDigits ( )

set the board digits from GUI input (set/unset)

Definition at line 693 of file AliMUONTriggerGUIbdmap.cxx.

void AliMUONTriggerGUIbdmap::SetBoard ( AliMUONTriggerGUIboard *const  b)
inline

set the board associated to this instance

Definition at line 47 of file AliMUONTriggerGUIbdmap.h.

Referenced by AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIbdmap::SetBoard ( TObjArray *const  boards,
Int_t  id 
)
inline

set the board associated to this instance, from boards array and id

Definition at line 49 of file AliMUONTriggerGUIbdmap.h.

void AliMUONTriggerGUIbdmap::SetCrateManager ( AliMUONTriggerCrateStore *const  crates)
inline

set the trigger boards manager

Definition at line 62 of file AliMUONTriggerGUIbdmap.h.

Referenced by AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIbdmap::SetLoader ( AliLoader *const  loader)
inline

set the current muon loader

Definition at line 53 of file AliMUONTriggerGUIbdmap.h.

Referenced by AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIbdmap::SetMCDataInterface ( AliMUONMCDataInterface *const  mc)
inline

set the MC data interface

Definition at line 55 of file AliMUONTriggerGUIbdmap.h.

Referenced by AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIbdmap::SetName ( const Char_t *  name)
inline

set the name of the board gui window

Definition at line 45 of file AliMUONTriggerGUIbdmap.h.

Referenced by AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIbdmap::SetRawDigitStore ( AliMUONDigitStoreV1 *const  ds)
inline

set the digit store from raw data

Definition at line 57 of file AliMUONTriggerGUIbdmap.h.

Referenced by AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIbdmap::SetRawTriggerStore ( AliMUONTriggerStoreV1 *const  ts)
inline

set the trigger store from raw data

Definition at line 59 of file AliMUONTriggerGUIbdmap.h.

Referenced by AliMUONTriggerGUI::OpenBoard().

void AliMUONTriggerGUIbdmap::Show ( )

map the main frame

Definition at line 271 of file AliMUONTriggerGUIbdmap.cxx.

Referenced by AliMUONTriggerGUI::OpenBoard().

Member Data Documentation

AliMUONTriggerGUIboard* AliMUONTriggerGUIbdmap::fBoard
private

Current board object.

Definition at line 93 of file AliMUONTriggerGUIbdmap.h.

Referenced by DoClose(), DoDigits(), DrawDigits(), DrawStrips(), EditStrips(), Init(), LocalTriggerInfo(), ResetDigits(), and SetBoard().

TObjArray* AliMUONTriggerGUIbdmap::fBoards
private

Array with all boards.

Definition at line 127 of file AliMUONTriggerGUIbdmap.h.

Referenced by DoDigits(), DrawDigits(), ResetDigits(), and SetBoard().

AliMUONCalibrationData* AliMUONTriggerGUIbdmap::fCalibrationData
private

Pointer to calibration data.

Definition at line 129 of file AliMUONTriggerGUIbdmap.h.

TCanvas* AliMUONTriggerGUIbdmap::fCanvas[kNMT]
private

MT canvases.

Definition at line 90 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawClear(), DrawDigits(), DrawStrips(), EditStrips(), and Init().

UInt_t AliMUONTriggerGUIbdmap::fCanvasSize
private

Size of the canvas.

Definition at line 123 of file AliMUONTriggerGUIbdmap.h.

Referenced by EditStrips().

AliMUONTriggerCrateStore* AliMUONTriggerGUIbdmap::fCrateManager
private

trigger boards manager

Definition at line 130 of file AliMUONTriggerGUIbdmap.h.

Referenced by LocalTriggerInfo(), and SetCrateManager().

TGCheckButton* AliMUONTriggerGUIbdmap::fEditStrips
private

Set/unset the strips.

Definition at line 101 of file AliMUONTriggerGUIbdmap.h.

Referenced by HandleEditButton(), and ResetDigits().

Bool_t AliMUONTriggerGUIbdmap::fIsEditable
private

allows set/unset the strips

Definition at line 121 of file AliMUONTriggerGUIbdmap.h.

Referenced by EditStrips(), HandleEditButton(), and ResetDigits().

Bool_t AliMUONTriggerGUIbdmap::fLabelX
private

x-labels exist

Definition at line 119 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawStrips().

Bool_t AliMUONTriggerGUIbdmap::fLabelY
private

y-labels exist

Definition at line 120 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawStrips().

AliLoader* AliMUONTriggerGUIbdmap::fLoader
private

The MUON loader.

Definition at line 94 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), LocalTriggerInfo(), and SetLoader().

TGTextEdit* AliMUONTriggerGUIbdmap::fLocTrigE
private

Window local trigger info.

Definition at line 91 of file AliMUONTriggerGUIbdmap.h.

Referenced by LocalTriggerInfo().

TGTransientFrame* AliMUONTriggerGUIbdmap::fMain
private

Main board frame.

Definition at line 89 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), SetName(), Show(), and ~AliMUONTriggerGUIbdmap().

AliMUONMCDataInterface* AliMUONTriggerGUIbdmap::fMCDataInterface
private

MC data interface.

Definition at line 95 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), LocalTriggerInfo(), and SetMCDataInterface().

Int_t AliMUONTriggerGUIbdmap::fNStripX
private

Number of x-strips on board.

Definition at line 124 of file AliMUONTriggerGUIbdmap.h.

Referenced by DoDigits(), DrawDigits(), EditStrips(), Init(), and ResetDigits().

Int_t AliMUONTriggerGUIbdmap::fNStripY
private

Number of y-strips on board.

Definition at line 125 of file AliMUONTriggerGUIbdmap.h.

Referenced by DoDigits(), DrawDigits(), EditStrips(), Init(), and ResetDigits().

AliMUONDigitStoreV1* AliMUONTriggerGUIbdmap::fRawDigitStore
private

Raw data digit store.

Definition at line 96 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), and SetRawDigitStore().

AliMUONTriggerStoreV1* AliMUONTriggerGUIbdmap::fRawTriggerStore
private

Raw data trigger store.

Definition at line 97 of file AliMUONTriggerGUIbdmap.h.

Referenced by LocalTriggerInfo(), and SetRawTriggerStore().

Float_t AliMUONTriggerGUIbdmap::fXCenter[kNMT]
private

Board x-center.

Definition at line 114 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), and Init().

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

X-digit box.

Definition at line 105 of file AliMUONTriggerGUIbdmap.h.

Referenced by DoDigits(), DrawDigits(), EditStrips(), Init(), and ResetDigits().

TPolyLine* AliMUONTriggerGUIbdmap::fXDigPL[kNMT][kNS]
private

X-strip polyline.

Definition at line 103 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().

TPaveText* AliMUONTriggerGUIbdmap::fXLabelL[kNMT][kNS]
private

X-strip labels left.

Definition at line 107 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().

TPaveText* AliMUONTriggerGUIbdmap::fXLabelR[kNMT][kNS]
private

X-strip labels right.

Definition at line 108 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().

Bool_t AliMUONTriggerGUIbdmap::fXOn
private

x-strips/digits on canvas ?

Definition at line 117 of file AliMUONTriggerGUIbdmap.h.

Referenced by EditStrips(), HandleButtons(), HandleEditButton(), Init(), and ResetDigits().

TGCheckButton* AliMUONTriggerGUIbdmap::fXStrips
private

Draw x-strips and digits.

Definition at line 99 of file AliMUONTriggerGUIbdmap.h.

Referenced by HandleButtons(), and ResetDigits().

Float_t AliMUONTriggerGUIbdmap::fXWidth[kNMT]
private

Board x-width.

Definition at line 112 of file AliMUONTriggerGUIbdmap.h.

Referenced by Init().

Float_t AliMUONTriggerGUIbdmap::fYCenter[kNMT]
private

Board y-center.

Definition at line 115 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), and Init().

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

Y-digit box.

Definition at line 106 of file AliMUONTriggerGUIbdmap.h.

Referenced by DoDigits(), DrawDigits(), EditStrips(), Init(), and ResetDigits().

TPolyLine* AliMUONTriggerGUIbdmap::fYDigPL[kNMT][kNS]
private

Y-strip polyline.

Definition at line 104 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().

TPaveText* AliMUONTriggerGUIbdmap::fYLabelL[kNMT][kNS]
private

Y-strip labels left.

Definition at line 109 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().

TPaveText* AliMUONTriggerGUIbdmap::fYLabelR[kNMT][kNS]
private

Y-strip labels right.

Definition at line 110 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().

Bool_t AliMUONTriggerGUIbdmap::fYOn
private

y-strips/digits on canvas ?

Definition at line 118 of file AliMUONTriggerGUIbdmap.h.

Referenced by EditStrips(), HandleButtons(), HandleEditButton(), Init(), and ResetDigits().

TGCheckButton* AliMUONTriggerGUIbdmap::fYStrips
private

Draw y-strips and digits.

Definition at line 100 of file AliMUONTriggerGUIbdmap.h.

Referenced by HandleButtons(), and ResetDigits().

Float_t AliMUONTriggerGUIbdmap::fYWidth[kNMT]
private

Board y-width.

Definition at line 113 of file AliMUONTriggerGUIbdmap.h.

Referenced by DrawDigits(), DrawStrips(), and Init().


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