source: trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.h@ 2029

Last change on this file since 2029 was 1992, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 984 bytes
Line 
1#ifndef MARS_MHMcCT1CollectionArea
2#define MARS_MHMcCT1CollectionArea
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH2D;
9
10class MHMcCT1CollectionArea : public MH
11{
12private:
13 TH2D *fHistAll; // all simulated showers
14 TH2D *fHistSel; // the selected showers
15 TH2D *fHistCol; // the collection area
16
17public:
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, Double_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.