Changeset 5916 for trunk/MagicSoft/Mars
- Timestamp:
- 01/20/05 18:16:09 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5915 r5916 26 26 - added function to display fluyctuations of a variable 27 27 28 * mcalib/MCalibrationPix.cc 29 - fixed small bug in High-gain mean error. 28 30 29 31 2005/01/20 Thomas Bretz -
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
r5458 r5916 353 353 Float_t MCalibrationPix::GetHiGainMeanErr() const 354 354 { 355 if (fHiGainMeanVar < 0.) 356 return -1.; 357 358 return TMath::Sqrt(fHiGainMeanVar); 359 } 360 361 362 // -------------------------------------------------------------------------- 363 // 364 // Get the High Gain Sigma Error: Takes square root of fHiGainSigmaVar 365 // 366 Float_t MCalibrationPix::GetHiGainSigmaErr() const 367 { 368 if (fHiGainSigmaVar < 0.) 369 return -1.; 370 371 return TMath::Sqrt(fHiGainSigmaVar); 372 } 373 374 // -------------------------------------------------------------------------- 375 // 376 // Get the Low Gain Mean Error: Takes square root of fLoGainMeanVar 377 // 378 Float_t MCalibrationPix::GetLoGainMeanErr() const 379 { 355 380 if (fLoGainMeanVar < 0.) 356 381 return -1.; … … 359 384 } 360 385 361 362 // -------------------------------------------------------------------------- 363 // 364 // Get the High Gain Sigma Error: Takes square root of fHiGainSigmaVar 365 // 366 Float_t MCalibrationPix::GetHiGainSigmaErr() const 367 { 368 if (fHiGainSigmaVar < 0.) 369 return -1.; 370 371 return TMath::Sqrt(fHiGainSigmaVar); 372 } 373 374 // -------------------------------------------------------------------------- 375 // 376 // Get the Low Gain Mean Error: Takes square root of fLoGainMeanVar 377 // 378 Float_t MCalibrationPix::GetLoGainMeanErr() const 386 // -------------------------------------------------------------------------- 387 // 388 // Get the Low Gain Mean Rel Variance 389 // 390 Float_t MCalibrationPix::GetLoGainMeanRelVar() const 379 391 { 380 392 if (fLoGainMeanVar < 0.) 381 393 return -1.; 382 383 return TMath::Sqrt(fLoGainMeanVar);384 }385 386 // --------------------------------------------------------------------------387 //388 // Get the Low Gain Mean Rel Variance389 //390 Float_t MCalibrationPix::GetLoGainMeanRelVar() const391 {392 if (fLoGainMeanVar < 0.)393 return -1.;394 394 if (fLoGainMean == 0.) 395 395 return -1.;
Note:
See TracChangeset
for help on using the changeset viewer.