source: tags/Mars-V0.6/mhist/MHMcCollectionArea.h

Last change on this file was 1015, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 847 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 MHMcCollectionArea : public MParContainer
12{
13private:
14 TH2D *fHistAll; //! all simulated showers
15 TH2D *fHistSel; //! the selected showers
16
17 TH1D *fHistCol; // the collection area
18
19public:
20
21 MHMcCollectionArea(const char *name=NULL, const char *title=NULL);
22 ~MHMcCollectionArea();
23
24 void FillAll(Float_t energy, Float_t radius);
25 void FillSel(Float_t energy, Float_t radius);
26
27 void DrawAll(Option_t *option="");
28 void DrawSel(Option_t *option="");
29
30 void Draw(Option_t *option="");
31 TObject *DrawClone(Option_t *option="") const;
32
33 void CalcEfficiency();
34
35 ClassDef(MHMcCollectionArea, 1) // Data Container to calculate Collection Area
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.