![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Graphical User Interface utility class for the MUON trigger detector. More...
#include <AliMUONTriggerGUI.h>
Public Member Functions | |
AliMUONTriggerGUI (Int_t runNumber=0) | |
virtual | ~AliMUONTriggerGUI () |
void | OpenBoard (Int_t id) |
void | HandleMenu (Int_t id) |
void | CreateDigitStore () |
void | PrintDigitStore () const |
void | ClearDigitStore () |
void | CreateTriggerStore () |
void | PrintTriggerStore () const |
void | ClearTriggerStore () |
void | WriteTriggerRawData () |
void | FET (Int_t onoff) |
void | FETboard (Int_t ib, Int_t amp) |
void | DoRunGalApply () |
void | DoRunRawApply () |
void | DoRunCancel () |
void | DoControlClose () |
void | DoCircuitCancel () |
void | DoCircuitOpen () |
void | DoErrorOK () |
void | DoNextEvent () |
void | DoPreviousEvent () |
void | DoSkipToEvent () |
void | DoErrorGUI (const Char_t *wt) |
void | DoFETRegRun (Int_t onoff) |
void | DoFETRegOnCancel () |
void | DoFETRegOffCancel () |
void | DoFETRegOnRun () |
void | DoFETRegOffRun () |
void | CloseWindow () |
void | CloseRunInput () const |
void | CloseError () const |
void | CloseControl () const |
void | CloseCircuit () const |
void | CloseFETRegOn () const |
void | CloseFETRegOff () const |
Private Types | |
enum | { kNBoards = 234, kNMT = 4 } |
nr of boards, nr of chambers More... | |
enum | EMenuIdentifiers { kMFILEEXIT, kMFILERUN, kMFILECNTRL, kMMAPDIGITS, kMRESETDIGITS, kMCIRCUITOPEN, kMFETON, kMFETOFF, kMFETREGON, kMFETREGOFF, kMDSTORE, kMTSTORE, kMDSTORECL, kMTSTORECL, kMDSTOREP, kMTSTOREP, kMTRAWDATA } |
working status flags More... | |
enum | { kGood = 0x0001, kWithProblems = 0x0002, kNotWorking = 0x0004, kUnknown = 0x0008 } |
Private Member Functions | |
AliMUONTriggerGUI (const AliMUONTriggerGUI &board) | |
copy constructor More... | |
AliMUONTriggerGUI & | operator= (const AliMUONTriggerGUI &board) |
assignment operator More... | |
TObjArray * | Boards () |
Access the array of trigger boards. More... | |
AliMUONTriggerGUIboard * | GetBoard (Int_t id) const |
virtual void | Init () |
virtual void | InitBoards () |
void | SetStripBoxes (AliMUONTriggerGUIboard *board) |
Private Attributes | |
TGMainFrame * | fMain |
The main frame. More... | |
TGImageMap * | fImageMap |
The image map of the main frame. More... | |
TGTextBuffer * | fTxtBuffer1 |
Path to the data (galice.root) More... | |
TGTextBuffer * | fTxtBuffer2 |
Current event number. More... | |
TGTextBuffer * | fTxtCircuit |
Circuit to open. More... | |
TGTextBuffer * | fTxtFETRegOn |
Regional crate to FET ON. More... | |
TGTextBuffer * | fTxtFETRegOff |
Regional crate to FET OFF. More... | |
TGTransientFrame * | fRunInput |
Run input window. More... | |
TGTransientFrame * | fError |
Error window. More... | |
TGTransientFrame * | fControl |
Run control window. More... | |
TGTransientFrame * | fCircuit |
Circuit window. More... | |
TGTransientFrame * | fFETRegOn |
FET ON for a regional card. More... | |
TGTransientFrame * | fFETRegOff |
FET OFF for a regional card. More... | |
TGTextEntry * | fSkipToEventTxt |
Control field shows current event number. More... | |
TString * | fFileName |
Full galice file name. More... | |
TString * | fPath |
Path string to galice. More... | |
TString * | fEvString |
Event number string. More... | |
Int_t | fChamber |
Current MT chamber. More... | |
Int_t | fEvent |
Current event number. More... | |
Int_t | fEventsPerRun |
Number of events per file (run) More... | |
AliLoader * | fLoader |
The MUON loader. More... | |
AliRunLoader * | fRunLoader |
The run loader. More... | |
AliCDBManager * | fCDBManager |
Calibration DB manager. More... | |
AliMUONCalibrationData * | fCalibrationData |
Calibration data for MUON. More... | |
AliMUONTriggerCrateStore * | fCrateManager |
trigger boards manager More... | |
AliMUONMCDataInterface * | fMCDataInterface |
MC data interface. More... | |
Bool_t | fBoardsInit |
Control the InitBoards only once. More... | |
Bool_t | fControlOn |
If the control frame is open. More... | |
AliMUONTriggerGUIdimap * | fDiMap |
Digits map. More... | |
AliMUONTriggerElectronics * | fTriggerProcessor |
The GUI trigger processor. More... | |
TObjArray * | fBoards |
The array of trigger boards. More... | |
AliMUONDigitStoreV2R * | fDigitStore |
GUI digit store (DSET) More... | |
AliMUONTriggerStoreV1 * | fTriggerStore |
Trigger store with GUI digit store. More... | |
Bool_t | fTStoreOn |
True if DSET trigger store has data. More... | |
Bool_t | fRUNRAW |
True if run with raw data (root) More... | |
AliRawReader * | fRawReader |
Reader for raw data input. More... | |
Int_t | fCurrentRawEvent |
Current event for raw data input. More... | |
AliMUONDigitStoreV1 * | fRawDigitStore |
Digit store from raw data. More... | |
AliMUONTriggerStoreV1 * | fRawTriggerStore |
Trigger store from raw data. More... | |
Graphical User Interface utility class for the MUON trigger detector.
Graphical User Interface utility class for the MUON trigger detector It creates, after initialisation with a data file, a sensitive map of the trigger boards
Definition at line 43 of file AliMUONTriggerGUI.h.
|
private |
nr of boards, nr of chambers
Enumerator | |
---|---|
kNBoards | |
kNMT |
Definition at line 106 of file AliMUONTriggerGUI.h.
|
private |
Enumerator | |
---|---|
kGood | |
kWithProblems | |
kNotWorking | |
kUnknown |
Definition at line 136 of file AliMUONTriggerGUI.h.
|
private |
working status flags
Enumerator | |
---|---|
kMFILEEXIT | |
kMFILERUN | |
kMFILECNTRL | |
kMMAPDIGITS | |
kMRESETDIGITS | |
kMCIRCUITOPEN | |
kMFETON | |
kMFETOFF | |
kMFETREGON | |
kMFETREGOFF | |
kMDSTORE | |
kMTSTORE | |
kMDSTORECL | |
kMTSTORECL | |
kMDSTOREP | |
kMTSTOREP | |
kMTRAWDATA |
Definition at line 109 of file AliMUONTriggerGUI.h.
AliMUONTriggerGUI::AliMUONTriggerGUI | ( | Int_t | runNumber = 0 | ) |
main GUI frame of the trigger monitor
Definition at line 81 of file AliMUONTriggerGUI.cxx.
|
inlinevirtual |
main gui destructor
Definition at line 49 of file AliMUONTriggerGUI.h.
|
private |
copy constructor
|
inlineprivate |
Access the array of trigger boards.
Definition at line 192 of file AliMUONTriggerGUI.h.
Referenced by InitBoards(), and OpenBoard().
void AliMUONTriggerGUI::ClearDigitStore | ( | ) |
Clear the DSET digit store
Definition at line 2103 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
void AliMUONTriggerGUI::ClearTriggerStore | ( | ) |
Clear the trigger store from the DSET digit store
Definition at line 2112 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
void AliMUONTriggerGUI::CloseCircuit | ( | ) | const |
close the circuit frame
Definition at line 866 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::CloseControl | ( | ) | const |
close the event control frame
Definition at line 855 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::CloseError | ( | ) | const |
close the error frame
Definition at line 846 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::CloseFETRegOff | ( | ) | const |
close the FET regional off frame
Definition at line 884 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::CloseFETRegOn | ( | ) | const |
close the FET regional on frame
Definition at line 875 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::CloseRunInput | ( | ) | const |
close the run input frame
Definition at line 837 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::CloseWindow | ( | ) |
close the main frame and exit aplication
Definition at line 893 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
void AliMUONTriggerGUI::CreateDigitStore | ( | ) |
create memory resident digits store with set strips
Definition at line 1754 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
void AliMUONTriggerGUI::CreateTriggerStore | ( | ) |
Process the DSET digit store and fill the trigger store
Definition at line 1871 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
void AliMUONTriggerGUI::DoCircuitCancel | ( | ) |
close the circuit frame
Definition at line 1249 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoCircuitOpen | ( | ) |
open a circuit
Definition at line 1318 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoControlClose | ( | ) |
close the event control frame
Definition at line 1239 of file AliMUONTriggerGUI.cxx.
Referenced by DoRunRawApply().
void AliMUONTriggerGUI::DoErrorGUI | ( | const Char_t * | wt | ) |
show an error message in a new frame
Definition at line 1069 of file AliMUONTriggerGUI.cxx.
Referenced by DoNextEvent(), DoPreviousEvent(), DoRunGalApply(), DoRunRawApply(), and DoSkipToEvent().
void AliMUONTriggerGUI::DoErrorOK | ( | ) |
close the error frame
Definition at line 1230 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoFETRegOffCancel | ( | ) |
close the FET regional off window
Definition at line 1267 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoFETRegOffRun | ( | ) |
FET ON for the regional crate
Definition at line 1308 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoFETRegOnCancel | ( | ) |
close the FET regional on window
Definition at line 1258 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoFETRegOnRun | ( | ) |
FET ON for the regional crate
Definition at line 1298 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoFETRegRun | ( | Int_t | onoff | ) |
FET ON/OFF for the regional crate
Definition at line 1276 of file AliMUONTriggerGUI.cxx.
Referenced by DoFETRegOffRun(), and DoFETRegOnRun().
void AliMUONTriggerGUI::DoNextEvent | ( | ) |
load next event from the file
Definition at line 1114 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoPreviousEvent | ( | ) |
load previous event from the input file
Definition at line 1154 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoRunCancel | ( | ) |
cancel the changes in the run control frame
Definition at line 1060 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoRunGalApply | ( | ) |
apply changes in the run control frame for galice input
Definition at line 905 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoRunRawApply | ( | ) |
apply changes in the run control frame for raw date input
Definition at line 992 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::DoSkipToEvent | ( | ) |
skip to event -input- from the input file
Definition at line 1195 of file AliMUONTriggerGUI.cxx.
void AliMUONTriggerGUI::FET | ( | Int_t | onoff | ) |
Front End test set all strips for all boards AliMUONTriggerGUIbdmap::DoDigits()
Definition at line 2089 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
void AliMUONTriggerGUI::FETboard | ( | Int_t | ib, |
Int_t | amp | ||
) |
Front End test set all strips for board with index "ib" AliMUONTriggerGUIbdmap::DoDigits()
Definition at line 2047 of file AliMUONTriggerGUI.cxx.
Referenced by DoFETRegRun(), and FET().
|
private |
return board with "id"
Definition at line 1350 of file AliMUONTriggerGUI.cxx.
Referenced by DoCircuitOpen(), HandleMenu(), InitBoards(), and OpenBoard().
void AliMUONTriggerGUI::HandleMenu | ( | Int_t | id | ) |
handles entry numbers in the available menus (EMenuIdentifiers)
Definition at line 281 of file AliMUONTriggerGUI.cxx.
|
privatevirtual |
initialize the main GUI frame
Definition at line 1419 of file AliMUONTriggerGUI.cxx.
|
privatevirtual |
create board objects and define the sensitive regions in the image map
Definition at line 1437 of file AliMUONTriggerGUI.cxx.
Referenced by DoRunGalApply(), DoRunRawApply(), and Init().
void AliMUONTriggerGUI::OpenBoard | ( | Int_t | id | ) |
open board with "id" in a new frame
Definition at line 1363 of file AliMUONTriggerGUI.cxx.
Referenced by DoCircuitOpen().
|
private |
assignment operator
void AliMUONTriggerGUI::PrintDigitStore | ( | ) | const |
Print the digits created in the GUI
Definition at line 1833 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
void AliMUONTriggerGUI::PrintTriggerStore | ( | ) | const |
Print the trigger output for DSET digits store
Definition at line 1888 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
|
private |
set coordinates of strip boxes
Definition at line 1606 of file AliMUONTriggerGUI.cxx.
Referenced by InitBoards().
void AliMUONTriggerGUI::WriteTriggerRawData | ( | ) |
Write raw data (DATE and ROOT) for the trigger store from the DSET digit store
Definition at line 1931 of file AliMUONTriggerGUI.cxx.
Referenced by HandleMenu().
|
private |
The array of trigger boards.
Definition at line 180 of file AliMUONTriggerGUI.h.
Referenced by Boards(), CreateDigitStore(), DoFETRegRun(), FETboard(), GetBoard(), and HandleMenu().
|
private |
Control the InitBoards only once.
Definition at line 173 of file AliMUONTriggerGUI.h.
Referenced by DoRunGalApply(), DoRunRawApply(), Init(), and InitBoards().
|
private |
Calibration data for MUON.
Definition at line 169 of file AliMUONTriggerGUI.h.
Referenced by InitBoards().
|
private |
Calibration DB manager.
Definition at line 168 of file AliMUONTriggerGUI.h.
|
private |
Current MT chamber.
Definition at line 161 of file AliMUONTriggerGUI.h.
|
private |
Circuit window.
Definition at line 151 of file AliMUONTriggerGUI.h.
Referenced by CloseCircuit(), DoCircuitCancel(), DoCircuitOpen(), and HandleMenu().
|
private |
Run control window.
Definition at line 150 of file AliMUONTriggerGUI.h.
Referenced by CloseControl(), DoControlClose(), and HandleMenu().
|
private |
If the control frame is open.
Definition at line 174 of file AliMUONTriggerGUI.h.
Referenced by DoControlClose(), DoRunRawApply(), and HandleMenu().
|
private |
trigger boards manager
Definition at line 170 of file AliMUONTriggerGUI.h.
Referenced by InitBoards(), OpenBoard(), and PrintTriggerStore().
|
private |
Current event for raw data input.
Definition at line 187 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoRunRawApply(), and DoSkipToEvent().
|
private |
GUI digit store (DSET)
Definition at line 182 of file AliMUONTriggerGUI.h.
Referenced by ClearDigitStore(), CreateDigitStore(), CreateTriggerStore(), and PrintDigitStore().
|
private |
Digits map.
Definition at line 176 of file AliMUONTriggerGUI.h.
Referenced by DoCircuitOpen(), DoRunGalApply(), DoRunRawApply(), HandleMenu(), and OpenBoard().
|
private |
Error window.
Definition at line 149 of file AliMUONTriggerGUI.h.
Referenced by CloseError(), DoErrorGUI(), and DoErrorOK().
|
private |
Current event number.
Definition at line 162 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoRunGalApply(), DoRunRawApply(), and DoSkipToEvent().
|
private |
Number of events per file (run)
Definition at line 163 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoRunGalApply(), and DoSkipToEvent().
|
private |
Event number string.
Definition at line 159 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoSkipToEvent(), and HandleMenu().
|
private |
FET OFF for a regional card.
Definition at line 153 of file AliMUONTriggerGUI.h.
Referenced by CloseFETRegOff(), DoFETRegOffCancel(), DoFETRegOffRun(), and HandleMenu().
|
private |
FET ON for a regional card.
Definition at line 152 of file AliMUONTriggerGUI.h.
Referenced by CloseFETRegOn(), DoFETRegOnCancel(), DoFETRegOnRun(), and HandleMenu().
|
private |
Full galice file name.
Definition at line 157 of file AliMUONTriggerGUI.h.
Referenced by DoRunGalApply(), and DoRunRawApply().
|
private |
The image map of the main frame.
Definition at line 141 of file AliMUONTriggerGUI.h.
Referenced by InitBoards().
|
private |
The MUON loader.
Definition at line 165 of file AliMUONTriggerGUI.h.
Referenced by DoRunGalApply(), HandleMenu(), and OpenBoard().
|
private |
The main frame.
Definition at line 140 of file AliMUONTriggerGUI.h.
Referenced by DoErrorGUI(), HandleMenu(), and OpenBoard().
|
private |
MC data interface.
Definition at line 171 of file AliMUONTriggerGUI.h.
Referenced by CloseWindow(), DoRunGalApply(), HandleMenu(), and OpenBoard().
|
private |
Path string to galice.
Definition at line 158 of file AliMUONTriggerGUI.h.
Referenced by DoRunGalApply(), and DoRunRawApply().
|
private |
Digit store from raw data.
Definition at line 188 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoRunRawApply(), DoSkipToEvent(), HandleMenu(), and OpenBoard().
|
private |
Reader for raw data input.
Definition at line 186 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoRunRawApply(), and DoSkipToEvent().
|
private |
Trigger store from raw data.
Definition at line 189 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoRunRawApply(), DoSkipToEvent(), and OpenBoard().
|
private |
Run input window.
Definition at line 148 of file AliMUONTriggerGUI.h.
Referenced by CloseRunInput(), DoRunCancel(), DoRunGalApply(), DoRunRawApply(), and HandleMenu().
|
private |
The run loader.
Definition at line 166 of file AliMUONTriggerGUI.h.
Referenced by CloseWindow(), DoNextEvent(), DoPreviousEvent(), DoRunGalApply(), DoRunRawApply(), and DoSkipToEvent().
|
private |
True if run with raw data (root)
Definition at line 185 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoRunGalApply(), DoRunRawApply(), DoSkipToEvent(), HandleMenu(), and OpenBoard().
|
private |
Control field shows current event number.
Definition at line 155 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoSkipToEvent(), and HandleMenu().
|
private |
The GUI trigger processor.
Definition at line 178 of file AliMUONTriggerGUI.h.
Referenced by CreateTriggerStore().
|
private |
Trigger store with GUI digit store.
Definition at line 183 of file AliMUONTriggerGUI.h.
Referenced by ClearTriggerStore(), CreateTriggerStore(), PrintTriggerStore(), and WriteTriggerRawData().
|
private |
True if DSET trigger store has data.
Definition at line 184 of file AliMUONTriggerGUI.h.
Referenced by ClearTriggerStore(), CreateTriggerStore(), PrintTriggerStore(), and WriteTriggerRawData().
|
private |
Path to the data (galice.root)
Definition at line 142 of file AliMUONTriggerGUI.h.
Referenced by DoRunGalApply(), DoRunRawApply(), and HandleMenu().
|
private |
Current event number.
Definition at line 143 of file AliMUONTriggerGUI.h.
Referenced by DoNextEvent(), DoPreviousEvent(), DoRunGalApply(), DoRunRawApply(), DoSkipToEvent(), and HandleMenu().
|
private |
Circuit to open.
Definition at line 144 of file AliMUONTriggerGUI.h.
Referenced by DoCircuitOpen(), and HandleMenu().
|
private |
Regional crate to FET OFF.
Definition at line 146 of file AliMUONTriggerGUI.h.
Referenced by DoFETRegRun(), and HandleMenu().
|
private |
Regional crate to FET ON.
Definition at line 145 of file AliMUONTriggerGUI.h.
Referenced by DoFETRegRun(), and HandleMenu().