1 | #ifndef MARS_MSigmabar
|
---|
2 | #define MARS_MSigmabar
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MGeomCam;
|
---|
9 | class MParList;
|
---|
10 | class MCerPhotEvt;
|
---|
11 | class MPedestalCam;
|
---|
12 |
|
---|
13 | class MSigmabar : public MParContainer
|
---|
14 | {
|
---|
15 | private:
|
---|
16 | Float_t fSigmabar; // Sigmabar ("average" RMS) of pedestal
|
---|
17 | Float_t fSigmabarInner; // --only for inner pixels
|
---|
18 | Float_t fSigmabarOuter; // --only for outer pixels
|
---|
19 |
|
---|
20 | Float_t fSigmabarSector[6]; // --for the 6 sectors of the camera
|
---|
21 | Float_t fSigmabarInnerSector[6];
|
---|
22 | Float_t fSigmabarOuterSector[6];
|
---|
23 |
|
---|
24 | Int_t fInnerPixels; // Overall number of inner pixels
|
---|
25 | Int_t fOuterPixels; // Overall number of outer pixels
|
---|
26 |
|
---|
27 | public:
|
---|
28 | MSigmabar(const char *name=NULL, const char *title=NULL);
|
---|
29 | ~MSigmabar();
|
---|
30 |
|
---|
31 | void Reset();
|
---|
32 |
|
---|
33 | void Print(Option_t *) const;
|
---|
34 |
|
---|
35 | Float_t GetSigmabar() const { return fSigmabar; }
|
---|
36 | Float_t GetSigmabarInner() const { return fSigmabarInner; }
|
---|
37 | Float_t GetSigmabarOuter() const { return fSigmabarOuter; }
|
---|
38 | Float_t GetSigmabarSector(const Int_t sector) const
|
---|
39 | { return fSigmabarSector[sector]; }
|
---|
40 |
|
---|
41 | // void SetSigmabar(Float_t f, Float_t i, Float_t o)
|
---|
42 | // { fSigmabar = f; fSigmabarInner = i; fSigmabarOuter = o; }
|
---|
43 | // void SetSigmabarInner(Float_t f) { fSigmabarInner = f; }
|
---|
44 | // void SetSigmabarOuter(Float_t f) { fSigmabarOuter = f; }
|
---|
45 |
|
---|
46 | Float_t Calc(const MGeomCam &geom, const MPedestalCam &ped, const MCerPhotEvt &evt);
|
---|
47 |
|
---|
48 | ClassDef(MSigmabar, 1) // Storage Container for Sigmabar
|
---|
49 | };
|
---|
50 |
|
---|
51 | #endif
|
---|
52 |
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|
56 |
|
---|