1 #ifndef ALIMUONMCHVIEWAPPLICATION_H
2 #define ALIMUONMCHVIEWAPPLICATION_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONMchViewApplication
11 /// \brief Main class for the mchview program
13 // Author Laurent Aphecetche, Subatech
18 #ifndef ROOT_RQ_OBJECT
19 # include <RQ_OBJECT.h>
24 class AliMUONMchViewApplication : public TRint
26 RQ_OBJECT("AliMUONMchViewApplication")
29 AliMUONMchViewApplication(const char* name, int* argc, char** argv,
30 Float_t wfraction, Float_t hfraction);
31 virtual ~AliMUONMchViewApplication();
33 void HandleMenu(Int_t i);
35 /// Return the version number of the mchview application
36 static const char* Version() { return "0.8"; }
40 AliMUONMchViewApplication(const AliMUONMchViewApplication& rhs);
42 AliMUONMchViewApplication& operator=(const AliMUONMchViewApplication& rhs);
44 void CreateMenuBar(UInt_t w);
46 void Save(const char* filename);
48 void Open(const char* filename);
51 TGMainFrame* fMainFrame; ///< pointer to our mainframe
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
57 ClassDef(AliMUONMchViewApplication,1) // mchview application