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

Last change on this file since 1919 was 1748, checked in by wittek, 22 years ago
*** empty log message ***
File size: 1.7 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_MParList
9#include "MParList.h"
10#endif
11
12#ifndef MARS_MGeomCam
13#include "MGeomCam.h"
14#endif
15
16#ifndef MARS_MPedestalCam
17#include "MPedestalCam.h"
18#endif
19
20class MCerPhotEvt;
21
22class MSigmabar : public MParContainer
23{
24private:
25 Float_t fSigmabar; // Sigmabar ("average" RMS) of pedestal
26 Float_t fSigmabarInner; // --only for inner pixels
27 Float_t fSigmabarOuter; // --only for outer pixels
28
29 Float_t fSigmabarSector[6]; // --for the 6 sectors of the camera
30 Float_t fSigmabarInnerSector[6];
31 Float_t fSigmabarOuterSector[6];
32
33 UInt_t fInnerPixels; // Overall number of inner pixels
34 UInt_t fOuterPixels; // Overall number of outer pixels
35
36 Bool_t fCalcPixNum;
37
38public:
39
40 MSigmabar(const char *name=NULL, const char *title=NULL);
41 ~MSigmabar();
42
43 void Print(Option_t *) const;
44
45 Float_t GetSigmabar() const { return fSigmabar; }
46 Float_t GetSigmabarInner() const { return fSigmabarInner; }
47 Float_t GetSigmabarOuter() const { return fSigmabarOuter; }
48 Float_t GetSigmabarSector(const Int_t sector) const
49 { return fSigmabarSector[sector]; }
50
51 // void SetSigmabar(Float_t f, Float_t i, Float_t o)
52 // { fSigmabar = f; fSigmabarInner = i; fSigmabarOuter = o; }
53 // void SetSigmabarInner(Float_t f) { fSigmabarInner = f; }
54 // void SetSigmabarOuter(Float_t f) { fSigmabarOuter = f; }
55
56 Float_t Calc(const MGeomCam &geom, const MPedestalCam &ped, const MCerPhotEvt &evt);
57
58 ClassDef(MSigmabar, 1) // Storage Container for Sigmabar
59};
60
61#endif
62
63
64
65
66
Note: See TracBrowser for help on using the repository browser.