]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONMchViewApplication.h
Adding a tool to mchview to compare alignments (Philippe P. ; Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONMchViewApplication.h
index 431e770462ee1b578ef4bc24ec8e0a45e2ef7aca..442348870847729ef6dd1be49d0dc2ef7ea4f503 100644 (file)
 #   include <TRint.h>
 #endif
 
-class AliMUONPainterMasterFrame;
+class TList;
+class TDirectory;
 class TGMainFrame;
+class AliMUONPainterMatrix;
+class TGTab;
 
 class AliMUONMchViewApplication : public TRint
 {
@@ -29,7 +32,7 @@ public:
   void HandleMenu(Int_t i);
 
   /// Return the version number of the mchview application
-  static const char* Version() { return "0.95"; }
+  static const char* Version() { return "1.11"; }
   
   /// Return the SVN revision  and version number of the mchview application
   static const char* FullVersion() { return Form("mchview Version %s ($Id$)",Version()); }
@@ -43,16 +46,20 @@ private:
   AliMUONMchViewApplication& operator=(const AliMUONMchViewApplication& rhs);
   
   void CompareData();  
+  void CompareAlignments();
   void CreateMenuBar(UInt_t w);
   void Save();
   void Save(const char* filename);
   void Open();
   void PrintAs();
   void ReleaseNotes();
-  
+  void ReadDir(TDirectory& dir);
+       AliMUONPainterMatrix* GenerateStartupMatrix();
+
 private:
   TGMainFrame* fMainFrame; ///< pointer to our mainframe
-  AliMUONPainterMasterFrame* fPainterMasterFrame; ///< pointer to our main object
+  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
@@ -60,10 +67,11 @@ private:
   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,4) // mchview application
+  ClassDef(AliMUONMchViewApplication,5) // mchview application
 };
 
 #endif