![]() |
AliRoot Core
edcc906 (edcc906)
|
Trigger GUI utility class: digits maps of the trigger chambers. More...
#include <AliMUONTriggerGUIdimap.h>
Public Member Functions | |
AliMUONTriggerGUIdimap (TObjArray *boards, const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h) | |
virtual | ~AliMUONTriggerGUIdimap () |
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... | |
Bool_t | IsOn () const |
return info if the map is open More... | |
void | DoClose () |
void | DoUpdate () |
void | DoTab (Int_t id) const |
void | DoReset () |
void | CloseWindow () |
void | DrawMaps (Int_t chamber) |
void | SelectBoard (Int_t ib) |
void | DrawAllMaps () |
Private Types | |
enum | { kNBoards = 234 } |
enum | { kGood = 0x0001, kWithProblems = 0x0002, kNotWorking = 0x0004, kUnknown = 0x0008 } |
enum | { kNSide = 2, kNCol = 7, kNLine = 9, kNMT = 4, kNBoardType = 3 } |
Private Member Functions | |
AliMUONTriggerGUIdimap (const AliMUONTriggerGUIdimap &dimap) | |
Not implemented. More... | |
AliMUONTriggerGUIdimap & | operator= (const AliMUONTriggerGUIdimap &dimap) |
Not implemented. More... | |
Private Attributes | |
TGTransientFrame * | fMain |
Main frame. More... | |
AliLoader * | fLoader |
The MUON loader. More... | |
AliMUONMCDataInterface * | fMCDataInterface |
MC data interface. More... | |
AliMUONDigitStoreV1 * | fRawDigitStore |
Raw data digit store. More... | |
TRootEmbeddedCanvas * | fEc [kNMT] |
Canvases for drawing the digits. More... | |
TPave * | fPaveBoard [kNMT][kNBoards] |
Drawing of the board. More... | |
TObjArray * | fBoards |
Array of boards. More... | |
Bool_t | fIsOn |
True if the map is open. More... | |
Trigger GUI utility class: digits maps of the trigger chambers.
The digit maps of the four trigger chambers, all boards
Definition at line 25 of file AliMUONTriggerGUIdimap.h.
|
private |
Enumerator | |
---|---|
kNBoards |
Definition at line 61 of file AliMUONTriggerGUIdimap.h.
|
private |
Enumerator | |
---|---|
kGood | |
kWithProblems | |
kNotWorking | |
kUnknown |
Definition at line 62 of file AliMUONTriggerGUIdimap.h.
|
private |
Enumerator | |
---|---|
kNSide | |
kNCol | |
kNLine | |
kNMT | |
kNBoardType |
Definition at line 63 of file AliMUONTriggerGUIdimap.h.
AliMUONTriggerGUIdimap::AliMUONTriggerGUIdimap | ( | TObjArray * | boards, |
const TGWindow * | p, | ||
const TGWindow * | main, | ||
UInt_t | w, | ||
UInt_t | h | ||
) |
|
virtual |
destructor
Definition at line 205 of file AliMUONTriggerGUIdimap.cxx.
|
private |
Not implemented.
void AliMUONTriggerGUIdimap::CloseWindow | ( | ) |
called when window is closed via the window manager.
Definition at line 614 of file AliMUONTriggerGUIdimap.cxx.
void AliMUONTriggerGUIdimap::DoClose | ( | ) |
close the main frame
Definition at line 539 of file AliMUONTriggerGUIdimap.cxx.
Referenced by IsOn().
void AliMUONTriggerGUIdimap::DoReset | ( | ) |
draw unselected boards
Definition at line 573 of file AliMUONTriggerGUIdimap.cxx.
Referenced by IsOn().
void AliMUONTriggerGUIdimap::DoTab | ( | Int_t | id | ) | const |
some action when chamber tab is selected...
Definition at line 519 of file AliMUONTriggerGUIdimap.cxx.
Referenced by IsOn().
void AliMUONTriggerGUIdimap::DoUpdate | ( | ) |
update maps for another run/event
Definition at line 549 of file AliMUONTriggerGUIdimap.cxx.
Referenced by IsOn().
void AliMUONTriggerGUIdimap::DrawAllMaps | ( | ) |
draw maps
Definition at line 220 of file AliMUONTriggerGUIdimap.cxx.
Referenced by AliMUONTriggerGUI::HandleMenu(), and IsOn().
void AliMUONTriggerGUIdimap::DrawMaps | ( | Int_t | chamber | ) |
draw the digits map for chamber-
Definition at line 239 of file AliMUONTriggerGUIdimap.cxx.
Referenced by DoUpdate(), DrawAllMaps(), and IsOn().
|
inline |
return info if the map is open
Definition at line 43 of file AliMUONTriggerGUIdimap.h.
Referenced by AliMUONTriggerGUI::DoCircuitOpen(), AliMUONTriggerGUI::DoRunGalApply(), AliMUONTriggerGUI::DoRunRawApply(), AliMUONTriggerGUI::HandleMenu(), and AliMUONTriggerGUI::OpenBoard().
|
private |
Not implemented.
Referenced by IsOn().
void AliMUONTriggerGUIdimap::SelectBoard | ( | Int_t | ib | ) |
highlight on the map the open board
Definition at line 594 of file AliMUONTriggerGUIdimap.cxx.
Referenced by AliMUONTriggerGUI::DoCircuitOpen(), DoUpdate(), IsOn(), and AliMUONTriggerGUI::OpenBoard().
|
inline |
set the current muon loader
Definition at line 36 of file AliMUONTriggerGUIdimap.h.
Referenced by AliMUONTriggerGUI::DoRunGalApply(), and AliMUONTriggerGUI::HandleMenu().
|
inline |
set the MC data interface
Definition at line 38 of file AliMUONTriggerGUIdimap.h.
Referenced by AliMUONTriggerGUI::DoRunGalApply(), and AliMUONTriggerGUI::HandleMenu().
|
inline |
set the digit store from raw data
Definition at line 40 of file AliMUONTriggerGUIdimap.h.
Referenced by AliMUONTriggerGUI::DoRunRawApply(), and AliMUONTriggerGUI::HandleMenu().
|
private |
Array of boards.
Definition at line 74 of file AliMUONTriggerGUIdimap.h.
Referenced by DoUpdate(), and DrawMaps().
|
private |
Canvases for drawing the digits.
Definition at line 71 of file AliMUONTriggerGUIdimap.h.
Referenced by DoReset(), DrawMaps(), and SelectBoard().
|
private |
True if the map is open.
Definition at line 76 of file AliMUONTriggerGUIdimap.h.
|
private |
The MUON loader.
Definition at line 67 of file AliMUONTriggerGUIdimap.h.
Referenced by DrawAllMaps(), DrawMaps(), and SetLoader().
|
private |
Main frame.
Definition at line 65 of file AliMUONTriggerGUIdimap.h.
Referenced by CloseWindow(), and ~AliMUONTriggerGUIdimap().
|
private |
MC data interface.
Definition at line 68 of file AliMUONTriggerGUIdimap.h.
Referenced by DrawAllMaps(), DrawMaps(), and SetMCDataInterface().
Drawing of the board.
Definition at line 73 of file AliMUONTriggerGUIdimap.h.
Referenced by DoReset(), DoUpdate(), DrawMaps(), SelectBoard(), and ~AliMUONTriggerGUIdimap().
|
private |
Raw data digit store.
Definition at line 69 of file AliMUONTriggerGUIdimap.h.
Referenced by DrawMaps(), and SetRawDigitStore().