X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONMchViewApplication.h;h=39b1694abd36933f4e4e7dd35acbd9b779776176;hb=6265ad5557e30302fab3e1a3e35bf51bda1ac0e2;hp=6f3e5308fbdd30066acf9dc596e8013be05e348b;hpb=4a3224ff74d939b946ed2d7aa685456463974f1c;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONMchViewApplication.h b/MUON/AliMUONMchViewApplication.h index 6f3e5308fbd..39b1694abd3 100644 --- a/MUON/AliMUONMchViewApplication.h +++ b/MUON/AliMUONMchViewApplication.h @@ -16,20 +16,23 @@ # include #endif -class AliMUONPainterMasterFrame; +class TList; +class TDirectory; class TGMainFrame; +class AliMUONPainterMatrix; +class TGTab; class AliMUONMchViewApplication : public TRint { 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.92a"; } + static const char* Version() { return "1.13"; } /// Return the SVN revision and version number of the mchview application static const char* FullVersion() { return Form("mchview Version %s ($Id$)",Version()); } @@ -42,24 +45,33 @@ private: /// 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 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 static const Int_t fgkFILEEXIT; ///< File/Exit menu 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,2) // mchview application + ClassDef(AliMUONMchViewApplication,5) // mchview application }; #endif