| Line |  | 
|---|
| 1 | #ifndef MARS_MHTimeDiffTheta | 
|---|
| 2 | #define MARS_MHTimeDiffTheta | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef MARS_MH | 
|---|
| 5 | #include "MH.h" | 
|---|
| 6 | #endif | 
|---|
| 7 | #ifndef ROOT_TH2 | 
|---|
| 8 | #include <TH2.h> | 
|---|
| 9 | #endif | 
|---|
| 10 |  | 
|---|
| 11 | class MTime; | 
|---|
| 12 | class MMcEvt; | 
|---|
| 13 |  | 
|---|
| 14 | class MParList; | 
|---|
| 15 |  | 
|---|
| 16 | class MHTimeDiffTheta : public MH | 
|---|
| 17 | { | 
|---|
| 18 | private: | 
|---|
| 19 | MTime  *fTime;   //! | 
|---|
| 20 | MMcEvt *fMcEvt;  //! | 
|---|
| 21 | Double_t fLastTime; | 
|---|
| 22 |  | 
|---|
| 23 | TH2D    fHist; | 
|---|
| 24 |  | 
|---|
| 25 | public: | 
|---|
| 26 | MHTimeDiffTheta(const char *name=NULL, const char *title=NULL); | 
|---|
| 27 |  | 
|---|
| 28 | Bool_t SetupFill(const MParList *pList); | 
|---|
| 29 | Bool_t Fill(const MParContainer *par, const Stat_t w=1); | 
|---|
| 30 |  | 
|---|
| 31 | const TH2D *GetHist() { return &fHist; } | 
|---|
| 32 | const TH2D *GetHist() const { return &fHist; } | 
|---|
| 33 |  | 
|---|
| 34 | TH1 *GetHistByName(const TString name) { return &fHist; } | 
|---|
| 35 |  | 
|---|
| 36 | void Draw(Option_t *option=""); | 
|---|
| 37 |  | 
|---|
| 38 | ClassDef(MHTimeDiffTheta, 0) //2D-histogram  time-diff vs. Theta | 
|---|
| 39 | }; | 
|---|
| 40 |  | 
|---|
| 41 | #endif | 
|---|
| 42 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.