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

Last change on this file since 3158 was 2798, checked in by wittek, 21 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 MPedPhotCam;
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
27public:
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 MPedPhotCam &ped, const MCerPhotEvt &evt);
47
48 ClassDef(MSigmabar, 1) // Storage Container for Sigmabar
49};
50
51#endif
52
53
54
55
56
Note: See TracBrowser for help on using the repository browser.