]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerGUIdimap.h
Updating this macro to allow input from a counter collection
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerGUIdimap.h
index 83ba5a84b0783a7fbc2ab99c618d7d3b2a06a821..138261151c162d624edaecf760fb00db37a7b257 100644 (file)
@@ -12,6 +12,8 @@
 #include <TGFrame.h>
 
 class AliLoader;
+class AliMUONMCDataInterface;
+class AliMUONDigitStoreV1;
 class TGTransientFrame;
 class TObjArray;
 class TRootEmbeddedCanvas;
@@ -25,17 +27,20 @@ class AliMUONTriggerGUIdimap : public TGFrame
     
 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;
@@ -43,6 +48,7 @@ public:
  void CloseWindow();
  void DrawMaps(Int_t chamber);
  void SelectBoard(Int_t ib);
+ void DrawAllMaps();
 
 private:
  /// Not implemented  
@@ -59,6 +65,8 @@ private:
   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
 
@@ -67,7 +75,7 @@ private:
 
   Bool_t fIsOn;                   ///< True if the map is open
 
-  ClassDef(AliMUONTriggerGUIdimap,1) //Trigger GUI utility class: digits maps of the trigger chambers
+  ClassDef(AliMUONTriggerGUIdimap,2) //Trigger GUI utility class: digits maps of the trigger chambers
    
 };