Line | |
---|
1 | #ifndef MARS_MHFlux
|
---|
2 | #define MARS_MHFlux
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TH3
|
---|
9 | #include <TH2.h>
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | #ifndef ROOT_TH1
|
---|
13 | #include <TH1.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 |
|
---|
17 | class MParList;
|
---|
18 |
|
---|
19 | class MHExcessEnergyTheta;
|
---|
20 | class MHMcCollectionArea;
|
---|
21 | class MHEffectiveOnTime;
|
---|
22 |
|
---|
23 |
|
---|
24 | class MHFlux : public MH
|
---|
25 | {
|
---|
26 | private:
|
---|
27 |
|
---|
28 | TH2D fHist;
|
---|
29 | TH1D fAverageFlux;
|
---|
30 |
|
---|
31 | Bool_t SetupFill(const MParList *pList);
|
---|
32 | Bool_t ReInit(MParList *pList);
|
---|
33 |
|
---|
34 |
|
---|
35 | public:
|
---|
36 |
|
---|
37 | MHFlux(const char *name=NULL, const char *title=NULL);
|
---|
38 |
|
---|
39 | void Calc(MHExcessEnergyTheta* hex, MHMcCollectionArea* area, MHEffectiveOnTime* hEffTime);
|
---|
40 |
|
---|
41 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
---|
42 |
|
---|
43 | TH2D *GetHist() { return &fHist; }
|
---|
44 | TH1D *GetAverageFlux() { return &fAverageFlux; }
|
---|
45 |
|
---|
46 | void Draw(Option_t *option="");
|
---|
47 |
|
---|
48 | ClassDef(MHFlux, 1) //2D-histogram of Flux vs. Energy and theta
|
---|
49 | };
|
---|
50 |
|
---|
51 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.