class AliMUONTriggerGUIboard;
class AliMUONTriggerGUI;
class AliMUONTriggerCircuit;
+class AliMUONTriggerCrateStore;
+class AliMUONMCDataInterface;
+class AliMUONDigitStoreV1;
+class AliMUONTriggerStoreV1;
+class AliMUONCalibrationData;
class AliLoader;
class AliMUONTriggerGUIbdmap : public TGFrame
public:
- AliMUONTriggerGUIbdmap(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h);
+ AliMUONTriggerGUIbdmap(const TGWindow *p, const TGWindow *mainWindow, UInt_t w, UInt_t h);
virtual ~AliMUONTriggerGUIbdmap();
/// set the name of the board gui window
void SetName(const Char_t *name) { fMain->SetWindowName(name); };
/// set the board associated to this instance
- void SetBoard(AliMUONTriggerGUIboard *b) { fBoard = b; };
+ void SetBoard(AliMUONTriggerGUIboard * const b) { fBoard = b; };
/// set the board associated to this instance, from boards array and id
- void SetBoard(TObjArray *boards, Int_t id) {
+ void SetBoard(TObjArray * const boards, Int_t id) {
fBoards = boards;
fBoard = (AliMUONTriggerGUIboard*)boards->UncheckedAt(id); }
/// set the current muon loader
- void SetLoader(AliLoader *loader) { fLoader = loader; };
+ void SetLoader(AliLoader * const loader) { fLoader = loader; };
+ /// set the MC data interface
+ void SetMCDataInterface(AliMUONMCDataInterface * const mc) { fMCDataInterface = mc; };
+ /// set the digit store from raw data
+ void SetRawDigitStore(AliMUONDigitStoreV1 * const ds) { fRawDigitStore = ds; };
+ /// set the trigger store from raw data
+ void SetRawTriggerStore(AliMUONTriggerStoreV1 * const ts) { fRawTriggerStore = ts; };
+
+ /// set the trigger boards manager
+ void SetCrateManager(AliMUONTriggerCrateStore * const crates) { fCrateManager = crates; };
void Show();
void Init();
void HandleButtons(Int_t id = -1);
void HandleEditButton();
- void CloseWindow();
+ void CloseWindow() const;
void DoClose();
void DoDigits();
void ResetDigits();
TCanvas *fCanvas[kNMT]; ///< MT canvases
TGTextEdit *fLocTrigE; ///< Window local trigger info
- AliMUONTriggerGUIboard *fBoard; ///< Current board object
- AliLoader *fLoader; ///< The MUON loader
+ AliMUONTriggerGUIboard *fBoard; ///< Current board object
+ AliLoader *fLoader; ///< The MUON loader
+ AliMUONMCDataInterface *fMCDataInterface; ///< MC data interface
+ AliMUONDigitStoreV1 *fRawDigitStore; ///< Raw data digit store
+ AliMUONTriggerStoreV1 *fRawTriggerStore; ///< Raw data trigger store
TGCheckButton *fXStrips; ///< Draw x-strips and digits
TGCheckButton *fYStrips; ///< Draw y-strips and digits
TObjArray *fBoards; ///< Array with all boards
- ClassDef(AliMUONTriggerGUIbdmap,1) // board gui class
+ AliMUONCalibrationData *fCalibrationData; ///< Pointer to calibration data
+ AliMUONTriggerCrateStore *fCrateManager; ///< trigger boards manager
+
+ ClassDef(AliMUONTriggerGUIbdmap,2) // board gui class
};