source: trunk/MagicSoft/Mars/manalysis/MPedestalPix.h@ 1106

Last change on this file since 1106 was 1014, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MPedestalPix
2#define MARS_MPedestalPix
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MPedestalPix : public MParContainer
9{
10private:
11 Float_t fMean; // mean value of pedestal (PMT offset)
12 Float_t fSigma; // sigma (standard deviation) of pedestal
13 Float_t fMeanRms; // root mean square of pedestal
14 Float_t fSigmaRms; // root mean sqare of sigma of the pedestal
15
16public:
17 MPedestalPix();
18
19 Float_t GetMean() const { return fMean; }
20 Float_t GetSigma() const { return fSigma; }
21 Float_t GetMeanRms() const { return fMeanRms; }
22 Float_t GetSigmaRms() const { return fSigmaRms; }
23
24 void SetMean(Float_t f) { fMean = f; }
25 void SetSigma(Float_t f) { fSigma = f; }
26 void SetMeanRms(Float_t f) { fMeanRms = f; }
27 void SetSigmaRms(Float_t f) { fSigmaRms = f; }
28
29 void SetPedestal(Float_t m, Float_t s) { fMean = m; fSigma = s; }
30 void SetPedestalRms(Float_t m, Float_t s) { fMeanRms = m; fSigmaRms = s; }
31
32 ClassDef(MPedestalPix, 1) // Storage Container for Pedestal information of one pixel
33};
34
35#endif
36
Note: See TracBrowser for help on using the repository browser.