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

Last change on this file since 3077 was 3014, checked in by gaug, 21 years ago
*** empty log message ***
File size: 972 bytes
Line 
1#ifndef MARS_MPedestalPix
2#define MARS_MPedestalPix
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef MARS_MHPedestalPixel
9#include "MHPedestalPixel.h"
10#endif
11
12class MHPedestalPixel;
13class MPedestalPix : public MParContainer
14{
15private:
16
17 Float_t fPedestal; // mean value of pedestal (PMT offset)
18 Float_t fPedestalRms; // root mean square / sigma / standard deviation of pedestal
19
20
21public:
22 MPedestalPix();
23
24 void Clear(Option_t *o="");
25
26 // Using histograms
27 void InitUseHists();
28
29 // Setters
30 void SetPedestal(const Float_t f) { fPedestal = f; }
31 void SetPedestalRms(const Float_t f) { fPedestalRms = f; }
32
33 void Set(const Float_t m, const Float_t r);
34
35 // Getters
36 Float_t GetPedestal() const { return fPedestal; }
37 Float_t GetPedestalRms() const { return fPedestalRms; }
38
39 Bool_t IsValid() const;
40
41 ClassDef(MPedestalPix, 1) // Storage Container for Pedestal information of one pixel
42};
43
44#endif
45
Note: See TracBrowser for help on using the repository browser.