source: branches/Mars_McMismatchStudy/mimage/MConcentration.h@ 17985

Last change on this file since 17985 was 6855, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.0 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 MSignalCam;
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
20 void Reset();
21
22 Int_t Calc(const MGeomCam &geom, const MSignalCam &pix, const MHillas &hil);
23
24 void Print(Option_t *opt=NULL) const;
25
26 Float_t GetConc1() const { return fConc[0]; }
27 Float_t GetConc2() const { return fConc[1]; }
28 Float_t GetConc3() const { return fConc[2]; }
29 Float_t GetConc4() const { return fConc[3]; }
30 Float_t GetConc5() const { return fConc[4]; }
31 Float_t GetConc6() const { return fConc[5]; }
32 Float_t GetConc7() const { return fConc[6]; }
33 Float_t GetConc8() const { return fConc[7]; }
34 Float_t GetConc9() const { return fConc[8]; }
35
36 ClassDef(MConcentration, 1) // Storage Container for Concentration Parameter
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.