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