source: trunk/MagicSoft/Mars/manalysis/MSigmabar.h@ 1683

Last change on this file since 1683 was 1682, checked in by rwagner, 22 years ago
*** empty log message ***
File size: 1.6 KB
Line 
1#ifndef MARS_MSigmabar
2#define MARS_MSigmabar
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef MARS_MGeomCam
9#include "MGeomCam.h"
10#endif
11
12#ifndef MARS_MPedestalCam
13#include "MPedestalCam.h"
14#endif
15
16class MSigmabar : public MParContainer
17{
18private:
19 Float_t fSigmabar; // Sigmabar (mean standard deviation) of pedestal
20 Float_t fSigmabarSector[6]; // --for the 6 sectors of the camera
21 Float_t fSigmabarInnerSector[6];
22 Float_t fSigmabarOuterSector[6];
23 Float_t fSigmabarInner; // --only for inner pixels
24 Float_t fSigmabarOuter; // --only for outer pixels
25 UInt_t fInnerPixels; // Overall number of inner pixels
26 UInt_t fOuterPixels; // Overall number of outer pixels
27 Float_t fRatioA; // Ratio of areas (outer/inner pixels)
28 Bool_t fCalcPixNum;
29
30public:
31
32 MSigmabar(const char *name=NULL, const char *title=NULL);
33 ~MSigmabar();
34
35 void Print(Option_t *) const;
36
37 Float_t GetSigmabar() const { return fSigmabar; }
38 Float_t GetSigmabarInner() const { return fSigmabarInner; }
39 Float_t GetSigmabarOuter() const { return fSigmabarOuter; }
40 Float_t GetSigmabarSector(const Int_t sector) const
41 { return fSigmabarSector[sector]; }
42
43 // void SetSigmabar(Float_t f, Float_t i, Float_t o)
44 // { fSigmabar = f; fSigmabarInner = i; fSigmabarOuter = o; }
45 // void SetSigmabarInner(Float_t f) { fSigmabarInner = f; }
46 // void SetSigmabarOuter(Float_t f) { fSigmabarOuter = f; }
47
48 Bool_t MSigmabar::Calc(const MGeomCam &geom, const MPedestalCam &ped);
49
50 ClassDef(MSigmabar, 1) // Storage Container for Sigmabar
51};
52
53#endif
54
Note: See TracBrowser for help on using the repository browser.