]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONMchViewApplication.h
reducing macro to minimum AliReconstruction functionality, disable QA and TriggerESD...
[u/mrichter/AliRoot.git] / MUON / AliMUONMchViewApplication.h
index 24ceac17347160fc5b9069bb595589a136661372..944aeccc0b1a0349b3e0d3810d74b852faa9defd 100644 (file)
 #ifndef ROOT_TRint
 #   include <TRint.h>
 #endif
-#ifndef ROOT_RQ_OBJECT
-#   include <RQ_OBJECT.h>
-#endif
 
+class AliMUONPainterMasterFrame;
 class TGMainFrame;
 
 class AliMUONMchViewApplication : public TRint
 {
-  RQ_OBJECT("AliMUONMchViewApplication")
-
 public:
   AliMUONMchViewApplication(const char* name, int* argc, char** argv, 
                             Float_t wfraction, Float_t hfraction);
@@ -33,28 +29,41 @@ public:
   void HandleMenu(Int_t i);
 
   /// Return the version number of the mchview application
-  static const char* Version() { return "0.9"; }
+  static const char* Version() { return "0.93"; }
+  
+  /// Return the SVN revision  and version number of the mchview application
+  static const char* FullVersion() { return Form("mchview Version %s ($Id$)",Version()); }
   
+  void Open(const char* filename);
+
 private:
   /// Not implemented
   AliMUONMchViewApplication(const AliMUONMchViewApplication& rhs);
   /// Not implemented
   AliMUONMchViewApplication& operator=(const AliMUONMchViewApplication& rhs);
   
+  void CompareData();  
   void CreateMenuBar(UInt_t w);
   void Save();
   void Save(const char* filename);
   void Open();
-  void Open(const char* filename);
+  void PrintAs();
+  void ReleaseNotes();
   
 private:
   TGMainFrame* fMainFrame; ///< pointer to our mainframe
-
+  AliMUONPainterMasterFrame* fPainterMasterFrame; ///< pointer to our main object
+  
   static const Int_t fgkFILESAVEAS; ///< File/Save As... menu
   static const Int_t fgkFILEOPEN; ///< File/Open... menu
   static const Int_t fgkFILEEXIT; ///< File/Exit menu
-
-  ClassDef(AliMUONMchViewApplication,1) // mchview application
+  static const Int_t fgkFILEPRINTAS; ///< File/Print As... menu
+  static const Int_t fgkABOUT; ///< About menu
+  static const Int_t fgkCOMPAREDATA; ///< Tools/Compare Data menu
+  
+  static const char* fgkFileTypes[]; ///< For the open menu
+  
+  ClassDef(AliMUONMchViewApplication,4) // mchview application
 };
 
 #endif