| 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 |
|
|---|
| 26 | Int_t fType;
|
|---|
| 27 | Bool_t fPermanentReset;
|
|---|
| 28 |
|
|---|
| 29 | void Init(const char *name, const char *title);
|
|---|
| 30 |
|
|---|
| 31 | Bool_t SetupFill(const MParList *pList);
|
|---|
| 32 | Int_t Fill(const MParContainer *par, const Stat_t weight=1);
|
|---|
| 33 | //Bool_t Finalize();
|
|---|
| 34 |
|
|---|
| 35 | public:
|
|---|
| 36 | MHPhotonEvent(Double_t max=0, const char *name=0, const char *title=0);
|
|---|
| 37 | MHPhotonEvent(Int_t type, const char *name=0, const char *title=0);
|
|---|
| 38 |
|
|---|
| 39 | void Draw(Option_t *o="");
|
|---|
| 40 | void Paint(Option_t *o="");
|
|---|
| 41 |
|
|---|
| 42 | ClassDef(MHPhotonEvent, 1) // Histogram to display the information of MPhotonEvents
|
|---|
| 43 | };
|
|---|
| 44 |
|
|---|
| 45 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.