Changeset 4332 for trunk/MagicSoft/Mars
- Timestamp:
- 06/22/04 21:27:40 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc
r4186 r4332 97 97 // - fConversionHiLo to fgConversionHiLo 98 98 // - fConversionHiLoVar to square of fgConversionHiLoErr 99 // - fConvFFactor RelErrLimit to fgConvFFactorRelErrLimit*fgConvFFactorRelErrLimit99 // - fConvFFactorelErrLimit to fgConvFFactorRelErrLimit*fgConvFFactorelErrLimit 100 100 // - fPheFFactorLimit to fgPheFFactorLimit 101 101 // … … 183 183 } 184 184 185 // -------------------------------------------------------------------------- 186 // 187 // Set pedestals from outside (done by MCalibrationChargeCalc) 188 // 189 void MCalibrationChargePix::SetPed(const Float_t ped, const Float_t pederr) 190 { 191 192 fPed = ped; 193 fPedVar = pederr*pederr; 194 } 195 196 // -------------------------------------------------------------------------- 197 // 198 // Set pedestals RMS from outside (done by MHCalibrationChargeCam) 199 // 200 void MCalibrationChargePix::SetPedRMS( const Float_t pedrms, const Float_t pedrmserr) 201 { 202 203 fPedRms = pedrms; 204 fPedRmsVar = pedrmserr*pedrmserr; 205 206 } 207 208 185 209 // ------------------------------------------------------------------------------- 186 210 // … … 253 277 } 254 278 255 256 //257 // Get the Error of the Mean pedestals:258 // Returns square root of fPedVar259 //260 Float_t MCalibrationChargePix::GetPedErr() const261 {262 return TMath::Sqrt(fPedVar);263 }264 279 265 280 // --------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.