| Line | |
|---|
| 1 | #ifndef MARS_MPedestalPix
|
|---|
| 2 | #define MARS_MPedestalPix
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MPedestalPix : public MParContainer
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | Float_t fPedestal; // mean value of pedestal (PMT offset)
|
|---|
| 12 | Float_t fPedestalRms; // root mean square / sigma / standard deviation of pedestal
|
|---|
| 13 |
|
|---|
| 14 | public:
|
|---|
| 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.