| Line | |
|---|
| 1 | #ifndef MARS_MHPhotonEvent
|
|---|
| 2 | #define MARS_MHPhotonEvent
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MH
|
|---|
| 5 | #include "MH.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ROOT_TH2
|
|---|
| 9 | #include <TH2.h>
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | #ifndef ROOT_TProfile2D
|
|---|
| 13 | #include <TProfile2D.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | class MPhotonEvent;
|
|---|
| 17 |
|
|---|
| 18 | class MHPhotonEvent : public MH
|
|---|
| 19 | {
|
|---|
| 20 | private:
|
|---|
| 21 | TH2D fHistXY;
|
|---|
| 22 | TH2D fHistUV;
|
|---|
| 23 | TProfile2D fHistT;
|
|---|
| 24 | TH1D fHistWL;
|
|---|
| 25 | TH1D fHistH;
|
|---|
| 26 |
|
|---|
| 27 | Int_t fType;
|
|---|
| 28 | Bool_t fPermanentReset;
|
|---|
| 29 |
|
|---|
| 30 | void Init(const char *name, const char *title);
|
|---|
| 31 |
|
|---|
| 32 | Bool_t SetupFill(const MParList *pList);
|
|---|
| 33 | Int_t Fill(const MParContainer *par, const Stat_t weight=1);
|
|---|
| 34 | //Bool_t Finalize();
|
|---|
| 35 |
|
|---|
| 36 | public:
|
|---|
| 37 | MHPhotonEvent(Double_t max=0, const char *name=0, const char *title=0);
|
|---|
| 38 | MHPhotonEvent(Int_t type, const char *name=0, const char *title=0);
|
|---|
| 39 |
|
|---|
| 40 | void Draw(Option_t *o="");
|
|---|
| 41 | void Paint(Option_t *o="");
|
|---|
| 42 |
|
|---|
| 43 | ClassDef(MHPhotonEvent, 2) // Histogram to display the information of MPhotonEvents
|
|---|
| 44 | };
|
|---|
| 45 |
|
|---|
| 46 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.