Line | |
---|
1 | #ifndef MARS_MConcentration
|
---|
2 | #define MARS_MConcentration
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHillas;
|
---|
9 | class MGeomCam;
|
---|
10 | class MSignalCam;
|
---|
11 |
|
---|
12 | class MConcentration : public MParContainer
|
---|
13 | {
|
---|
14 | private:
|
---|
15 | Float_t fConc[9]; // [ratio] Num photons in i+1 pixels over size of event
|
---|
16 |
|
---|
17 | public:
|
---|
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.