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 |
|
---|
11 | class TH2D;
|
---|
12 | class MParList;
|
---|
13 |
|
---|
14 | class MHEffOnTime : public MH
|
---|
15 | {
|
---|
16 | private:
|
---|
17 | TH1D fHEffOn;
|
---|
18 | TH1D fHProb;
|
---|
19 | TH1D fHLambda;
|
---|
20 | TH1D fHRdead;
|
---|
21 |
|
---|
22 | const char *fVarname;
|
---|
23 | const char *fUnit;
|
---|
24 |
|
---|
25 | public:
|
---|
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.