Changeset 8911 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 06/02/08 10:36:33 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mpedestal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MPedestalPix.cc
r8497 r8911 20 20 ! Author(s): Florian Goebel 06/2004 <mailto:fgoebel@mppmu.mpg.de> 21 21 ! 22 ! Copyright: MAGIC Software Development, 2000-200 422 ! Copyright: MAGIC Software Development, 2000-2008 23 23 ! 24 24 ! … … 73 73 { 74 74 Clear(); 75 } 76 77 // ------------------------------------------------------------------------ 78 // 79 // return fNumEvents>0 ? fPedestalRms/TMath::Sqrt((Float_t)fNumEvents) : 0; 80 // 81 Float_t MPedestalPix::GetPedestalError() const 82 { 83 return fNumEvents>0 ? fPedestalRms/TMath::Sqrt((Float_t)fNumEvents) : 0; 84 } 85 86 // ------------------------------------------------------------------------ 87 // 88 // return fNumEvents>0 ? fPedestalRms/TMath::Sqrt((Float_t)fNumEvents*2) : 0; 89 // 90 Float_t MPedestalPix::GetPedestalRmsError() const 91 { 92 return fNumEvents>0 ? fPedestalRms/TMath::Sqrt((Float_t)fNumEvents*2) : 0; 75 93 } 76 94 -
trunk/MagicSoft/Mars/mpedestal/MPedestalPix.h
r5464 r8911 35 35 Float_t GetPedestalRms() const { return fPedestalRms; } 36 36 Float_t GetPedestalABoffset() const { return fPedestalABoffset; } 37 Float_t GetPedestalError() const { return fNumEvents>0 ? fPedestalRms/TMath::Sqrt((Float_t)fNumEvents) : 0; } 38 Float_t GetPedestalRmsError() const { return fNumEvents>0 ? fPedestalRms/TMath::Sqrt((Float_t)fNumEvents*2) : 0; } 37 38 Float_t GetPedestalError() const; 39 Float_t GetPedestalRmsError() const; 39 40 40 41 UInt_t GetNumEvents() const { return fNumEvents; }
Note:
See TracChangeset
for help on using the changeset viewer.