Last change
on this file since 970 was 970, checked in by tbretz, 23 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
1001 bytes
|
Line | |
---|
1 | #ifndef MHMCCOLLECTIONAREA_H
|
---|
2 | #define MHMCCOLLECTIONAREA_H
|
---|
3 |
|
---|
4 | #ifndef MAGIC_H
|
---|
5 | #include "MAGIC.h"
|
---|
6 | #endif
|
---|
7 | #ifndef MPARCONTAINER_H
|
---|
8 | #include "MParContainer.h"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | //
|
---|
12 | // because of some strange reason this cannot be put into MonteCarloIncl
|
---|
13 | //
|
---|
14 | #ifndef ROOT_TH1
|
---|
15 | #include <TH1.h>
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | class TH2D;
|
---|
19 |
|
---|
20 | class MHMcCollectionArea : public MParContainer
|
---|
21 | {
|
---|
22 | private:
|
---|
23 | TH2D *fHistAll; //! all simulated showers
|
---|
24 | TH2D *fHistSel; //! the selected showers
|
---|
25 |
|
---|
26 | TH1D *fHistCol; // the collection area
|
---|
27 |
|
---|
28 | public:
|
---|
29 |
|
---|
30 | MHMcCollectionArea(const char *name=NULL, const char *title=NULL);
|
---|
31 | ~MHMcCollectionArea();
|
---|
32 |
|
---|
33 | void FillAll(Float_t log10E, Float_t radius);
|
---|
34 | void FillSel(Float_t log10E, Float_t radius);
|
---|
35 |
|
---|
36 | void DrawAll(Option_t *option = "");
|
---|
37 | void DrawSel(Option_t *option = "");
|
---|
38 |
|
---|
39 | void Draw(Option_t *option = NULL);
|
---|
40 | TObject *DrawClone(Option_t *option = NULL) const;
|
---|
41 |
|
---|
42 | void CalcEfficiency();
|
---|
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.