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

Last change on this file since 872 was 867, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 947 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
18class TH2D;
19
20class MHMcCollectionArea : public MParContainer
21{
22private:
23 TH2D *fHistAll; //! all simulated showers
24 TH2D *fHistSel; //! the selected showers
25
26 TH1D *fHistCol; // the collection area
27
28public:
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 void Draw (Option_t *option = "");
39
40 void CalcEfficiency();
41
42 ClassDef(MHMcCollectionArea, 1) // Data Container to calculate Collection Area
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.