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

Last change on this file since 3325 was 3159, checked in by gaug, 21 years ago
*** empty log message ***
File size: 882 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
15public:
16 MPedestalPix();
17
18 void Clear(Option_t *o="");
19
20 // Using histograms
21 void InitUseHists();
22
23 // Setters
24 void SetPedestal(const Float_t f) { fPedestal = f; }
25 void SetPedestalRms(const Float_t f) { fPedestalRms = f; }
26
27 void Set(const Float_t m, const Float_t r);
28
29 // Getters
30 Float_t GetPedestal() const { return fPedestal; }
31 Float_t GetPedestalRms() const { return fPedestalRms; }
32
33 Bool_t IsValid() const;
34
35 ClassDef(MPedestalPix, 1) // Storage Container for Pedestal information of one pixel
36};
37
38#endif
39
Note: See TracBrowser for help on using the repository browser.