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

Last change on this file since 2088 was 1951, checked in by tbretz, 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
8class MGeomCam;
9class MParList;
10class MCerPhotEvt;
11class MPedestalCam;
12
13class MSigmabar : public MParContainer
14{
15private:
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 Bool_t fCalcPixNum;
28
29public:
30
31 MSigmabar(const char *name=NULL, const char *title=NULL);
32 ~MSigmabar();
33
34 void Reset();
35
36 void Print(Option_t *) const;
37
38 Float_t GetSigmabar() const { return fSigmabar; }
39 Float_t GetSigmabarInner() const { return fSigmabarInner; }
40 Float_t GetSigmabarOuter() const { return fSigmabarOuter; }
41 Float_t GetSigmabarSector(const Int_t sector) const
42 { return fSigmabarSector[sector]; }
43
44 // void SetSigmabar(Float_t f, Float_t i, Float_t o)
45 // { fSigmabar = f; fSigmabarInner = i; fSigmabarOuter = o; }
46 // void SetSigmabarInner(Float_t f) { fSigmabarInner = f; }
47 // void SetSigmabarOuter(Float_t f) { fSigmabarOuter = f; }
48
49 Float_t Calc(const MGeomCam &geom, const MPedestalCam &ped, const MCerPhotEvt &evt);
50
51 ClassDef(MSigmabar, 1) // Storage Container for Sigmabar
52};
53
54#endif
55
56
57
58
59
Note: See TracBrowser for help on using the repository browser.