| Line | |
|---|
| 1 | #ifndef MARS_MHExcessEnergyTheta
|
|---|
| 2 | #define MARS_MHExcessEnergyTheta
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MH
|
|---|
| 5 | #include "MH.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ROOT_TH3
|
|---|
| 9 | #include <TH2.h>
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 | class MParList;
|
|---|
| 14 | class MHAlphaEnergyTheta;
|
|---|
| 15 |
|
|---|
| 16 | class MHExcessEnergyTheta : public MH
|
|---|
| 17 | {
|
|---|
| 18 | private:
|
|---|
| 19 |
|
|---|
| 20 | TH2D fHist;
|
|---|
| 21 |
|
|---|
| 22 | Bool_t SetupFill(const MParList *pList);
|
|---|
| 23 | Bool_t ReInit(MParList *pList);
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | public:
|
|---|
| 27 |
|
|---|
| 28 | MHExcessEnergyTheta(const char *name=NULL, const char *title=NULL);
|
|---|
| 29 |
|
|---|
| 30 | void Calc(MHAlphaEnergyTheta* hAlpha);
|
|---|
| 31 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
|---|
| 32 |
|
|---|
| 33 | TH2D *GetHist() { return &fHist; }
|
|---|
| 34 |
|
|---|
| 35 | void Draw(Option_t *option="");
|
|---|
| 36 |
|
|---|
| 37 | ClassDef(MHExcessEnergyTheta, 1) //2D-histogram in number of excess events vs. Energy and theta
|
|---|
| 38 | };
|
|---|
| 39 |
|
|---|
| 40 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.