source: trunk/MagicSoft/Mars/mpedestal/MPedestalPix.h@ 4013

Last change on this file since 4013 was 3931, checked in by gaug, 21 years ago
*** empty log message ***
File size: 992 bytes
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
12 Float_t fPedestal; // mean value of pedestal (PMT offset)
13 Float_t fPedestalRms; // root mean square / sigma / standard deviation of pedestal
14 Bool_t fValid; // flag to set pixel valid
15
16public:
17 MPedestalPix();
18
19 void Clear(Option_t *o="");
20
21 // Using histograms
22 void InitUseHists();
23
24 // Setters
25 void SetPedestal(const Float_t f) { fPedestal = f; }
26 void SetPedestalRms(const Float_t f) { fPedestalRms = f; }
27
28 void Set(const Float_t m, const Float_t r);
29 void SetValid(const Bool_t b=kTRUE) { fValid = b; }
30
31 // Getters
32 Float_t GetPedestal() const { return fPedestal; }
33 Float_t GetPedestalRms() const { return fPedestalRms; }
34
35 Bool_t IsValid() const;
36
37 ClassDef(MPedestalPix, 1) // Storage Container for Pedestal information of one pixel
38};
39
40#endif
41
Note: See TracBrowser for help on using the repository browser.