AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerGUIdimap.h
Go to the documentation of this file.
1 #ifndef ALIMUONTRIGGERGUIDIMAP_H
2 #define ALIMUONTRIGGERGUIDIMAP_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
10 // Author Bogdan Vulpescu, LPC Clermont-Ferrand
11 
12 #include <TGFrame.h>
13 
14 class AliLoader;
17 class TGTransientFrame;
18 class TObjArray;
19 class TRootEmbeddedCanvas;
20 class TPave;
21 class TH1F;
22 class TGWindow;
23 class TPad;
24 
25 class AliMUONTriggerGUIdimap : public TGFrame
26 {
27 
28 public:
29 
31  const TGWindow *p, const TGWindow *main,
32  UInt_t w, UInt_t h);
33  virtual ~AliMUONTriggerGUIdimap();
34 
36  void SetLoader(AliLoader * const loader) { fLoader = loader; };
41 
43  Bool_t IsOn() const { return fIsOn; };
44  void DoClose();
45  void DoUpdate();
46  void DoTab(Int_t id) const;
47  void DoReset();
48  void CloseWindow();
49  void DrawMaps(Int_t chamber);
50  void SelectBoard(Int_t ib);
51  void DrawAllMaps();
52 
53 private:
58 
59 private:
60 
61  enum { kNBoards = 234 };
62  enum { kGood = 0x0001, kWithProblems = 0x0002, kNotWorking = 0x0004, kUnknown = 0x0008 };
63  enum { kNSide = 2, kNCol = 7, kNLine = 9, kNMT = 4, kNBoardType = 3 };
64 
65  TGTransientFrame *fMain;
66 
67  AliLoader *fLoader;
70 
71  TRootEmbeddedCanvas *fEc[kNMT];
72 
75 
76  Bool_t fIsOn;
77 
78  ClassDef(AliMUONTriggerGUIdimap,2) //Trigger GUI utility class: digits maps of the trigger chambers
79 
80 };
81 
82 #endif
#define TObjArray
AliMUONTriggerGUIdimap & operator=(const AliMUONTriggerGUIdimap &dimap)
Not implemented.
Bool_t fIsOn
True if the map is open.
TObjArray * fBoards
Array of boards.
void SetLoader(AliLoader *const loader)
set the current muon loader
(Legacy) implementation of AliMUONVDigitStore
AliMUONTriggerGUIdimap(TObjArray *boards, const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h)
Bool_t IsOn() const
return info if the map is open
TGTransientFrame * fMain
Main frame.
AliMUONMCDataInterface * fMCDataInterface
MC data interface.
Trigger GUI utility class: digits maps of the trigger chambers.
AliMUONDigitStoreV1 * fRawDigitStore
Raw data digit store.
Easy to use data access to MC information.
TPave * fPaveBoard[kNMT][kNBoards]
Drawing of the board.
AliLoader * fLoader
The MUON loader.
void SetMCDataInterface(AliMUONMCDataInterface *const mc)
set the MC data interface
int main(int argc, char **argv)
Definition: TPCCEda.cxx:91
TRootEmbeddedCanvas * fEc[kNMT]
Canvases for drawing the digits.
void SetRawDigitStore(AliMUONDigitStoreV1 *const ds)
set the digit store from raw data