source: trunk/MagicSoft/Mars/mhist/MHEffOnTime.h@ 1655

Last change on this file since 1655 was 1411, checked in by wittek, 22 years ago
*** empty log message ***
File size: 811 bytes
Line 
1#ifndef MARS_MHEffOnTime
2#define MARS_MHEffOnTime
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TH1
8#include "TH1.h"
9#endif
10
11class TH2D;
12class MParList;
13
14class MHEffOnTime : public MH
15{
16private:
17 TH1D fHEffOn;
18 TH1D fHProb;
19 TH1D fHLambda;
20 TH1D fHRdead;
21
22 const char *fVarname;
23 const char *fUnit;
24
25public:
26 MHEffOnTime(const char *varname=NULL, const char *unit=NULL);
27
28 virtual Bool_t SetupFill(const MParList *pList);
29 virtual Bool_t Fill(const MParContainer *par);
30
31 const TH1D *GetHist() { return &fHEffOn; }
32 const TH1D *GetHist() const { return &fHEffOn; }
33
34 void Calc(TH2D *hist, const Bool_t Draw);
35
36 void Draw(Option_t *option="");
37 TObject *DrawClone(Option_t *option="") const;
38
39 ClassDef(MHEffOnTime, 1) //1D-plot of Delta t vs. Var
40};
41
42#endif
43
Note: See TracBrowser for help on using the repository browser.