]>
Commit | Line | Data |
---|---|---|
90037e4e | 1 | #ifndef ALIMUONMCHVIEWAPPLICATION_H |
2 | #define ALIMUONMCHVIEWAPPLICATION_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | // $Id$ | |
8 | ||
9 | /// \ingroup graphics | |
10 | /// \class AliMUONMchViewApplication | |
11 | /// \brief Main class for the mchview program | |
12 | /// | |
13 | // Author Laurent Aphecetche, Subatech | |
14 | ||
15 | #ifndef ROOT_TRint | |
16 | # include <TRint.h> | |
17 | #endif | |
18 | #ifndef ROOT_RQ_OBJECT | |
19 | # include <RQ_OBJECT.h> | |
20 | #endif | |
21 | ||
22 | class TGMainFrame; | |
23 | ||
24 | class AliMUONMchViewApplication : public TRint | |
25 | { | |
26 | RQ_OBJECT("AliMUONMchViewApplication") | |
27 | ||
28 | public: | |
29 | AliMUONMchViewApplication(const char* name, int* argc, char** argv, | |
30 | Float_t wfraction, Float_t hfraction); | |
31 | virtual ~AliMUONMchViewApplication(); | |
32 | ||
33 | void HandleMenu(Int_t i); | |
34 | ||
35 | /// Return the version number of the mchview application | |
8741815f | 36 | static const char* Version() { return "0.9"; } |
90037e4e | 37 | |
38 | private: | |
39 | /// Not implemented | |
40 | AliMUONMchViewApplication(const AliMUONMchViewApplication& rhs); | |
41 | /// Not implemented | |
42 | AliMUONMchViewApplication& operator=(const AliMUONMchViewApplication& rhs); | |
43 | ||
44 | void CreateMenuBar(UInt_t w); | |
45 | void Save(); | |
46 | void Save(const char* filename); | |
47 | void Open(); | |
48 | void Open(const char* filename); | |
49 | ||
50 | private: | |
51 | TGMainFrame* fMainFrame; ///< pointer to our mainframe | |
52 | ||
53 | static const Int_t fgkFILESAVEAS; ///< File/Save As... menu | |
54 | static const Int_t fgkFILEOPEN; ///< File/Open... menu | |
55 | static const Int_t fgkFILEEXIT; ///< File/Exit menu | |
56 | ||
57 | ClassDef(AliMUONMchViewApplication,1) // mchview application | |
58 | }; | |
59 | ||
60 | #endif |