source: trunk/MagicSoft/Mars/manalysis/MPedPhotPix.h@ 2827

Last change on this file since 2827 was 2798, checked in by wittek, 21 years ago
*** empty log message ***
File size: 725 bytes
Line 
1#ifndef MARS_MPedPhotPix
2#define MARS_MPedPhotPix
3
4#ifndef ROOT_TObject
5#include <TObject.h>
6#endif
7
8class MPedPhotPix : public TObject
9{
10private:
11 Float_t fMean; // [phot] mean value of pedestal (should be 0)
12 Float_t fRms; // [phot] rms of mean
13
14public:
15 MPedPhotPix();
16
17 void Clear(Option_t *o="");
18
19 Float_t GetMean() const { return fMean; }
20 Float_t GetRms() const { return fRms; }
21
22 //void SetMean(Float_t f) { fMean = f; }
23 void SetRms(Float_t f) { fRms = f; }
24 void Set(Float_t m, Float_t r) { fMean = m; fRms = r; }
25
26 Bool_t IsValid() const { return fRms>=0; }
27
28 ClassDef(MPedPhotPix, 1) // Storage Container for Pedestal information of one pixel in units of photons
29};
30
31#endif
32
Note: See TracBrowser for help on using the repository browser.