source: trunk/MagicSoft/Mars/mhist/MHMcCollectionArea.h@ 1227

Last change on this file since 1227 was 1227, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 907 bytes
Line 
1#ifndef MARS_MHMcCollectionArea
2#define MARS_MHMcCollectionArea
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class TH1D;
9class TH2D;
10
11class MHMcEfficiency;
12
13class MHMcCollectionArea : public MParContainer
14{
15private:
16 TH2D *fHistAll; //! all simulated showers
17 TH2D *fHistSel; //! the selected showers
18
19 TH1D *fHistCol; // the collection area
20
21public:
22
23 MHMcCollectionArea(const char *name=NULL, const char *title=NULL);
24 ~MHMcCollectionArea();
25
26 void FillAll(Float_t energy, Float_t radius);
27 void FillSel(Float_t energy, Float_t radius);
28
29 void DrawAll(Option_t *option="");
30 void DrawSel(Option_t *option="");
31
32 void Draw(Option_t *option="");
33 TObject *DrawClone(Option_t *option="") const;
34
35 void CalcEfficiency();
36
37 void Calc(MHMcEfficiency *eff);
38
39 ClassDef(MHMcCollectionArea, 1) // Data Container to calculate Collection Area
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.