Changeset 6031 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 01/27/05 09:43:34 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MPedPhotPix.h
r4384 r6031 5 5 #include <TObject.h> 6 6 #endif 7 #include "MMath.h" 7 8 8 9 class MPedPhotPix : public TObject … … 24 25 25 26 //void SetMean(Float_t f) { fMean = f; } 26 void SetRms(Float_t f) { fRms = f; }27 void Set(Float_t m, Float_t r, UInt_t n=1) { fMean = m; fRms = r; fNumEvents=n; }27 void SetRms(Float_t f) {MMath::TruncatePrecision(f); fRms = f; } 28 void Set(Float_t m, Float_t r, UInt_t n=1) { MMath::TruncatePrecision(r); MMath::TruncatePrecision(m); fMean = m; fRms = r; fNumEvents=n; } 28 29 29 30 Bool_t IsValid() const { return fRms>=0; }
Note:
See TracChangeset
for help on using the changeset viewer.