| Line | |
|---|
| 1 | #ifndef MARS_MHMcCT1CollectionArea
|
|---|
| 2 | #define MARS_MHMcCT1CollectionArea
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MH
|
|---|
| 5 | #include "MH.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TH2D;
|
|---|
| 9 |
|
|---|
| 10 | class MHMcCT1CollectionArea : public MH
|
|---|
| 11 | {
|
|---|
| 12 | private:
|
|---|
| 13 | TH2D *fHistAll; // all simulated showers
|
|---|
| 14 | TH2D *fHistSel; // the selected showers
|
|---|
| 15 | TH2D *fHistCol; // the collection area
|
|---|
| 16 |
|
|---|
| 17 | public:
|
|---|
| 18 | MHMcCT1CollectionArea(const char *name=NULL, const char *title=NULL);
|
|---|
| 19 | ~MHMcCT1CollectionArea();
|
|---|
| 20 |
|
|---|
| 21 | Bool_t SetupFill(const MParList *pList);
|
|---|
| 22 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
|---|
| 23 |
|
|---|
| 24 | void DrawAll(Option_t *option="");
|
|---|
| 25 | void DrawSel(Option_t *option="");
|
|---|
| 26 |
|
|---|
| 27 | const TH2D *GetHist() const { return fHistCol; }
|
|---|
| 28 | const TH2D *GetHAll() const { return fHistAll; }
|
|---|
| 29 | const TH2D *GetHSel() const { return fHistSel; }
|
|---|
| 30 |
|
|---|
| 31 | void Draw(Option_t *option="");
|
|---|
| 32 | TObject *DrawClone(Option_t *option="") const;
|
|---|
| 33 |
|
|---|
| 34 | void CalcEfficiency();
|
|---|
| 35 |
|
|---|
| 36 | ClassDef(MHMcCT1CollectionArea, 1) // Data Container to calculate Collection Area
|
|---|
| 37 | };
|
|---|
| 38 |
|
|---|
| 39 | #endif
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.