![]() |
AliRoot Core
da88d91 (da88d91)
|
Trigger GUI utility class: single board map of the strips/digits. More...
#include <AliMUONTriggerGUIbdmap.h>
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... | |
AliMUONTriggerGUIbdmap & | operator= (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... | |
AliMUONTriggerGUIboard * | fBoard |
Current board object. More... | |
AliLoader * | fLoader |
The MUON loader. More... | |
AliMUONMCDataInterface * | fMCDataInterface |
MC data interface. More... | |
AliMUONDigitStoreV1 * | fRawDigitStore |
Raw data digit store. More... | |
AliMUONTriggerStoreV1 * | fRawTriggerStore |
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... | |
TObjArray * | fBoards |
Array with all boards. More... | |
AliMUONCalibrationData * | fCalibrationData |
Pointer to calibration data. More... | |
AliMUONTriggerCrateStore * | fCrateManager |
trigger boards manager More... | |
Trigger GUI utility class: single board map of the strips/digits.
The gui map of a single board object, strips/digits
Definition at line 36 of file AliMUONTriggerGUIbdmap.h.
|
private |
Enumerator | |
---|---|
kNBoards | |
kNMT | |
kNS |
Definition at line 87 of file AliMUONTriggerGUIbdmap.h.
AliMUONTriggerGUIbdmap::AliMUONTriggerGUIbdmap | ( | const TGWindow * | p, |
const TGWindow * | mainWindow, | ||
UInt_t | w, | ||
UInt_t | h | ||
) |
frame constructor
Definition at line 65 of file AliMUONTriggerGUIbdmap.cxx.
|
virtual |
frame destructor
Definition at line 262 of file AliMUONTriggerGUIbdmap.cxx.
|
private |
Not implemented.
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().
|
private |
Not implemented.
void AliMUONTriggerGUIbdmap::ResetDigits | ( | ) |
set the board digits from GUI input (set/unset)
Definition at line 693 of file AliMUONTriggerGUIbdmap.cxx.
|
inline |
set the board associated to this instance
Definition at line 47 of file AliMUONTriggerGUIbdmap.h.
Referenced by AliMUONTriggerGUI::OpenBoard().
|
inline |
set the board associated to this instance, from boards array and id
Definition at line 49 of file AliMUONTriggerGUIbdmap.h.
|
inline |
set the trigger boards manager
Definition at line 62 of file AliMUONTriggerGUIbdmap.h.
Referenced by AliMUONTriggerGUI::OpenBoard().
|
inline |
set the current muon loader
Definition at line 53 of file AliMUONTriggerGUIbdmap.h.
Referenced by AliMUONTriggerGUI::OpenBoard().
|
inline |
set the MC data interface
Definition at line 55 of file AliMUONTriggerGUIbdmap.h.
Referenced by AliMUONTriggerGUI::OpenBoard().
|
inline |
set the name of the board gui window
Definition at line 45 of file AliMUONTriggerGUIbdmap.h.
Referenced by AliMUONTriggerGUI::OpenBoard().
|
inline |
set the digit store from raw data
Definition at line 57 of file AliMUONTriggerGUIbdmap.h.
Referenced by AliMUONTriggerGUI::OpenBoard().
|
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().
|
private |
Current board object.
Definition at line 93 of file AliMUONTriggerGUIbdmap.h.
Referenced by DoClose(), DoDigits(), DrawDigits(), DrawStrips(), EditStrips(), Init(), LocalTriggerInfo(), ResetDigits(), and SetBoard().
|
private |
Array with all boards.
Definition at line 127 of file AliMUONTriggerGUIbdmap.h.
Referenced by DoDigits(), DrawDigits(), ResetDigits(), and SetBoard().
|
private |
Pointer to calibration data.
Definition at line 129 of file AliMUONTriggerGUIbdmap.h.
|
private |
MT canvases.
Definition at line 90 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawClear(), DrawDigits(), DrawStrips(), EditStrips(), and Init().
|
private |
Size of the canvas.
Definition at line 123 of file AliMUONTriggerGUIbdmap.h.
Referenced by EditStrips().
|
private |
trigger boards manager
Definition at line 130 of file AliMUONTriggerGUIbdmap.h.
Referenced by LocalTriggerInfo(), and SetCrateManager().
|
private |
Set/unset the strips.
Definition at line 101 of file AliMUONTriggerGUIbdmap.h.
Referenced by HandleEditButton(), and ResetDigits().
|
private |
allows set/unset the strips
Definition at line 121 of file AliMUONTriggerGUIbdmap.h.
Referenced by EditStrips(), HandleEditButton(), and ResetDigits().
|
private |
|
private |
|
private |
The MUON loader.
Definition at line 94 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), LocalTriggerInfo(), and SetLoader().
|
private |
Window local trigger info.
Definition at line 91 of file AliMUONTriggerGUIbdmap.h.
Referenced by LocalTriggerInfo().
|
private |
Main board frame.
Definition at line 89 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), SetName(), Show(), and ~AliMUONTriggerGUIbdmap().
|
private |
MC data interface.
Definition at line 95 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), LocalTriggerInfo(), and SetMCDataInterface().
|
private |
Number of x-strips on board.
Definition at line 124 of file AliMUONTriggerGUIbdmap.h.
Referenced by DoDigits(), DrawDigits(), EditStrips(), Init(), and ResetDigits().
|
private |
Number of y-strips on board.
Definition at line 125 of file AliMUONTriggerGUIbdmap.h.
Referenced by DoDigits(), DrawDigits(), EditStrips(), Init(), and ResetDigits().
|
private |
Raw data digit store.
Definition at line 96 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), and SetRawDigitStore().
|
private |
Raw data trigger store.
Definition at line 97 of file AliMUONTriggerGUIbdmap.h.
Referenced by LocalTriggerInfo(), and SetRawTriggerStore().
|
private |
Board x-center.
Definition at line 114 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), and Init().
X-digit box.
Definition at line 105 of file AliMUONTriggerGUIbdmap.h.
Referenced by DoDigits(), DrawDigits(), EditStrips(), Init(), and ResetDigits().
X-strip polyline.
Definition at line 103 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().
X-strip labels left.
Definition at line 107 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().
X-strip labels right.
Definition at line 108 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().
|
private |
x-strips/digits on canvas ?
Definition at line 117 of file AliMUONTriggerGUIbdmap.h.
Referenced by EditStrips(), HandleButtons(), HandleEditButton(), Init(), and ResetDigits().
|
private |
Draw x-strips and digits.
Definition at line 99 of file AliMUONTriggerGUIbdmap.h.
Referenced by HandleButtons(), and ResetDigits().
|
private |
|
private |
Board y-center.
Definition at line 115 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), and Init().
Y-digit box.
Definition at line 106 of file AliMUONTriggerGUIbdmap.h.
Referenced by DoDigits(), DrawDigits(), EditStrips(), Init(), and ResetDigits().
Y-strip polyline.
Definition at line 104 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().
Y-strip labels left.
Definition at line 109 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().
Y-strip labels right.
Definition at line 110 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), EditStrips(), and Init().
|
private |
y-strips/digits on canvas ?
Definition at line 118 of file AliMUONTriggerGUIbdmap.h.
Referenced by EditStrips(), HandleButtons(), HandleEditButton(), Init(), and ResetDigits().
|
private |
Draw y-strips and digits.
Definition at line 100 of file AliMUONTriggerGUIbdmap.h.
Referenced by HandleButtons(), and ResetDigits().
|
private |
Board y-width.
Definition at line 113 of file AliMUONTriggerGUIbdmap.h.
Referenced by DrawDigits(), DrawStrips(), and Init().