#include <TGFrame.h>
class AliLoader;
+class AliMUONMCDataInterface;
+class AliMUONDigitStoreV1;
class TGTransientFrame;
class TObjArray;
class TRootEmbeddedCanvas;
public:
- AliMUONTriggerGUIdimap(AliLoader *loader,
- TObjArray *boards,
+ AliMUONTriggerGUIdimap(TObjArray *boards,
const TGWindow *p, const TGWindow *main,
UInt_t w, UInt_t h);
virtual ~AliMUONTriggerGUIdimap();
/// set the current muon loader
- void SetLoader(AliLoader *loader) { fLoader = loader; };
- /// true if the gui is active
- Bool_t IsOn() const { return fIsOn; };
+ 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; };
+ /// return info if the map is open
+ Bool_t IsOn() const { return fIsOn; };
void DoClose();
void DoUpdate();
void DoTab(Int_t id) const;
void CloseWindow();
void DrawMaps(Int_t chamber);
void SelectBoard(Int_t ib);
+ void DrawAllMaps();
private:
/// Not implemented
TGTransientFrame *fMain; ///< Main frame
AliLoader *fLoader; ///< The MUON loader
+ AliMUONMCDataInterface *fMCDataInterface; ///< MC data interface
+ AliMUONDigitStoreV1 *fRawDigitStore; ///< Raw data digit store
TRootEmbeddedCanvas *fEc[kNMT]; ///< Canvases for drawing the digits
Bool_t fIsOn; ///< True if the map is open
- ClassDef(AliMUONTriggerGUIdimap,1)
+ ClassDef(AliMUONTriggerGUIdimap,2) //Trigger GUI utility class: digits maps of the trigger chambers
};