Changeset 6078 for trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
- Timestamp:
- 01/28/05 11:18:44 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
r6034 r6078 48 48 Bool_t IsPixelCore() const { return fIsCore; } 49 49 50 void SetNumPhotons(Float_t f) { MMath:: TruncatePrecision(f); fPhot = f; }51 void SetErrorPhot(Float_t f) { MMath:: TruncatePrecision(f); fErrPhot = f; }52 void Set(Float_t np, Float_t ep) { MMath:: TruncatePrecision(np); MMath::TruncatePrecision(ep); fPhot = np; fErrPhot = ep; }50 void SetNumPhotons(Float_t f) { MMath::ReducePrecision(f); fPhot = f; } 51 void SetErrorPhot(Float_t f) { MMath::ReducePrecision(f); fErrPhot = f; } 52 void Set(Float_t np, Float_t ep) { MMath::ReducePrecision(np); MMath::ReducePrecision(ep); fPhot = np; fErrPhot = ep; } 53 53 54 54 void SetPixelSaturated() { fIsSaturated = kTRUE; }
Note:
See TracChangeset
for help on using the changeset viewer.