#ifndef MARS_MHTimeDiffTheta #define MARS_MHTimeDiffTheta #ifndef MARS_MH #include "MH.h" #endif #ifndef ROOT_TH2 #include "TH2.h" #endif class MTime; class MMcEvt; class MParList; class MHTimeDiffTheta : public MH { private: MTime *fTime; //! MMcEvt *fMcEvt; //! Int_t fLastTime; TH2D fHist; public: MHTimeDiffTheta(const char *name=NULL, const char *title=NULL); virtual Bool_t SetupFill(const MParList *pList); virtual Bool_t Fill(const MParContainer *par); const TH2D *GetHist() { return &fHist; } const TH2D *GetHist() const { return &fHist; } void Draw(Option_t *option=""); TObject *DrawClone(Option_t *option="") const; ClassDef(MHTimeDiffTheta, 1) //Histogram to store a 3-Dim histogram in alpha, Energy and time }; #endif