source: trunk/MagicSoft/Mars/mimage/MConcentration.h@ 3821

Last change on this file since 3821 was 3542, checked in by blanch, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MConcentration
2#define MARS_MConcentration
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MHillas;
9class MGeomCam;
10class MCerPhotEvt;
11
12class MConcentration : public MParContainer
13{
14private:
15 Float_t fConc[9]; // [ratio] Num photons in i+1 pixels over size of event
16
17public:
18 MConcentration(const char *name=NULL, const char *title=NULL);
19 ~MConcentration();
20
21 void Reset();
22
23 Int_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix, const MHillas &hil);
24
25 void Print(Option_t *opt=NULL) const;
26
27 Float_t GetConc1() const { return fConc[0]; }
28 Float_t GetConc2() const { return fConc[1]; }
29 Float_t GetConc3() const { return fConc[2]; }
30 Float_t GetConc4() const { return fConc[3]; }
31 Float_t GetConc5() const { return fConc[4]; }
32 Float_t GetConc6() const { return fConc[5]; }
33 Float_t GetConc7() const { return fConc[6]; }
34 Float_t GetConc8() const { return fConc[7]; }
35 Float_t GetConc9() const { return fConc[8]; }
36
37 ClassDef(MConcentration, 1) // Storage Container for Concentration Parameter
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.