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

Last change on this file since 859 was 853, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 913 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 TH1D *fHistCol ; // the collection area
26
27public:
28
29 MHMcCollectionArea(const char *name=NULL, const char *title=NULL) ;
30 ~MHMcCollectionArea() ;
31
32 void FillAll(Float_t log10E, Float_t radius) ;
33 void FillSel(Float_t log10E, Float_t radius) ;
34 void DrawAll() ;
35 void DrawSel() ;
36 void Draw(Option_t* option = "") ;
37 void CalcEfficiency() ;
38
39 ClassDef(MHMcCollectionArea, 1) // Data Container to calculate Collection Area
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.