source: trunk/MagicSoft/Mars/mmontecarlo/MCollArea.h@ 770

Last change on this file since 770 was 712, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 850 bytes
Line 
1#ifndef MCOLLAREA_H
2#define MCOLLAREA_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 TH1_H
15#include <TH1.h>
16#endif
17
18class TH2D;
19
20class MCollArea : public MParContainer {
21
22 private:
23 TH2D *fHistAll ; //! all simulated showers
24 TH2D *fHistSel ; //! the selected showers
25 TH1D *fHistCol ; // the collection area
26
27 public:
28
29 MCollArea(const char *name=NULL, const char *title=NULL) ;
30 ~MCollArea() ;
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(MCollArea, 1) // Data Container to calculate Collection Area
40} ;
41
42#endif
Note: See TracBrowser for help on using the repository browser.