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