]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONMchViewApplication.h
Use kinematic check to filter out particles from being added to the stack, unless...
[u/mrichter/AliRoot.git] / MUON / AliMUONMchViewApplication.h
index 9fc4f55601b81ebbc8f13111fcaea636430ffb4f..89ec078af80194a0d8ba5c51ba4ad84cda4c3286 100644 (file)
 #ifndef ROOT_TRint
 #   include <TRint.h>
 #endif
-#ifndef ROOT_RQ_OBJECT
-#   include <RQ_OBJECT.h>
-#endif
 
+class TList;
+class TDirectory;
 class TGMainFrame;
+class AliMUONPainterMatrix;
+class TGTab;
 
 class AliMUONMchViewApplication : public TRint
 {
-  RQ_OBJECT("AliMUONMchViewApplication")
-
 public:
   AliMUONMchViewApplication(const char* name, int* argc, char** argv, 
-                            Float_t wfraction, Float_t hfraction);
+                            UInt_t w=0, UInt_t h=0, UInt_t ox=0, UInt_t oy=0);
   virtual ~AliMUONMchViewApplication();
 
   void HandleMenu(Int_t i);
 
   /// Return the version number of the mchview application
-  static const char* Version() { return "0.8"; }
+  static const char* Version() { return "1.15"; }
   
+  /// 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 CompareAlignments();
   void CreateMenuBar(UInt_t w);
   void Save();
   void Save(const char* filename);
   void Open();
-  void Open(const char* filename);
-  
+  void PrintAs();
+  void ReleaseNotes();
+  void ReadDir(TDirectory& dir);
+       AliMUONPainterMatrix* GenerateStartupMatrix();
+
 private:
   TGMainFrame* fMainFrame; ///< pointer to our mainframe
-
+  TList* fPainterMasterFrameList; ///< list of painterMasterFrame objects
+  TGTab* fTabs; ///< our tabs
+  
   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 Int_t fgkCOMPAREALIGNMENTS; ///< Tools/Compare Alignments menu
+  
+  static const char* fgkFileTypes[]; ///< For the open menu
+  
+  ClassDef(AliMUONMchViewApplication,5) // mchview application
 };
 
 #endif