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

Last change on this file since 2876 was 2237, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.0 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 fPedestal; // mean value of pedestal (PMT offset)
12 Float_t fPedestalRms; // root mean square / sigma / standard deviation of pedestal
13
14public:
15 MPedestalPix();
16
17 void Clear(Option_t *o="");
18
19 Float_t GetPedestal() const { return fPedestal; }
20 Float_t GetPedestalRms() const { return fPedestalRms; }
21/*
22 void SetMean(Float_t f) { fMean = f; }
23 void SetSigma(Float_t f) { fSigma = f; }
24 void SetMeanRms(Float_t f) { fMeanRms = f; }
25 void SetSigmaRms(Float_t f) { fSigmaRms = f; }
26 */
27
28 void SetPedestal(Float_t f) { fPedestal = f; }
29 void SetPedestalRms(Float_t f) { fPedestalRms = f; }
30 void Set(Float_t m, Float_t r) { fPedestal = m; fPedestalRms = r; }
31
32 Bool_t IsValid() const { return fPedestal>=0||fPedestalRms>=0; }
33
34 ClassDef(MPedestalPix, 1) // Storage Container for Pedestal information of one pixel
35};
36
37#endif
38
Note: See TracBrowser for help on using the repository browser.