Changeset 3663 for trunk/MagicSoft/Mars
- Timestamp:
- 04/06/04 11:48:49 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3662 r3663 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2004/04/06: Markus Gaug 22 23 * mcalib/MCalibrationChargePix.[h,cc] 24 - change names of the GetLoGain*() functions to 25 GetConvertedLoGain*() for better clarity 26 20 27 21 28 2004/04/05: Markus Gaug -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc
r3658 r3663 65 65 // all error variables contain Variances in order to save the CPU-intensive square rooting 66 66 // 67 // Low-Gain variables are stored internally unconverted, i.e. directly from the summed 68 // FADC slices extraction results, but can be retrieved converted to High-Gain amplifications 69 // by calls to: GetConvertedLoGainMean() or GetConvertedLoGainSigma() 70 // 67 71 // See also: MCalibrationChargeCam, MCalibrationChargeCalc, 68 72 // MHCalibrationChargeCam, MHCalibrationChargePix … … 325 329 // -------------------------------------------------------------------------- 326 330 // 327 // Get the Low Gain Mean :331 // Get the Low Gain Mean converted to High Gain amplification: 328 332 // Returns fLoGainMean multiplied with fConversionHiLo 329 333 // 330 Float_t MCalibrationChargePix::Get LoGainMean() const334 Float_t MCalibrationChargePix::GetConvertedLoGainMean() const 331 335 { 332 336 return fLoGainMean * fConversionHiLo; … … 335 339 // -------------------------------------------------------------------------- 336 340 // 337 // Get the Error of the Low Gain Mean:341 // Get the Error of the converted Low Gain Mean: 338 342 // 339 343 // Returns -1 if the variable fLoGainMean or fLoGainMeanVar are smaller than 0. 340 344 // 341 345 // Returns the square root of the quadratic sum of the relative variances of 342 // the fLoGainMean and fConversionHiLo, mulitplied with Get LoGainMean()343 // 344 Float_t MCalibrationChargePix::Get LoGainMeanErr() const346 // the fLoGainMean and fConversionHiLo, mulitplied with GetConvertedLoGainMean() 347 // 348 Float_t MCalibrationChargePix::GetConvertedLoGainMeanErr() const 345 349 { 346 350 … … 354 358 /( fLoGainMean * fLoGainMean ); 355 359 356 return TMath::Sqrt(chargeRelVar+GetConversionHiLoRelVar()) * Get LoGainMean();357 } 358 359 // -------------------------------------------------------------------------- 360 // 361 // Get the Low Gain Sigma :360 return TMath::Sqrt(chargeRelVar+GetConversionHiLoRelVar()) * GetConvertedLoGainMean(); 361 } 362 363 // -------------------------------------------------------------------------- 364 // 365 // Get the Low Gain Sigma converted to High Gain amplification: 362 366 // Returns fLoGainSigma multiplied with fConversionHiLo 363 367 // 364 Float_t MCalibrationChargePix::Get LoGainSigma() const368 Float_t MCalibrationChargePix::GetConvertedLoGainSigma() const 365 369 { 366 370 return fLoGainSigma * fConversionHiLo; … … 369 373 // -------------------------------------------------------------------------- 370 374 // 371 // Get the Error of the Low Gain Sigma:375 // Get the Error of the converted Low Gain Sigma: 372 376 // 373 377 // Returns -1 if the variable fLoGainSigma or fLoGainSigmaVar are smaller than 0. 374 378 // 375 379 // Returns the square root of the quadratic sum of the relative variances of 376 // the fLoGainSigma and fConversionHiLo, mulitplied with Get LoGainSigma()377 // 378 Float_t MCalibrationChargePix::Get LoGainSigmaErr() const380 // the fLoGainSigma and fConversionHiLo, mulitplied with GetConvertedLoGainSigma() 381 // 382 Float_t MCalibrationChargePix::GetConvertedLoGainSigmaErr() const 379 383 { 380 384 … … 388 392 /( fLoGainSigma * fLoGainSigma ); 389 393 390 return TMath::Sqrt(sigmaRelVar+GetConversionHiLoRelVar()) * Get LoGainSigma();394 return TMath::Sqrt(sigmaRelVar+GetConversionHiLoRelVar()) * GetConvertedLoGainSigma(); 391 395 } 392 396 -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.h
r3651 r3663 101 101 Float_t GetConversionPINDiodeMethodErr() const; 102 102 Float_t GetConversionCombinedMethodErr() const; 103 Float_t Get LoGainMean() const;104 Float_t Get LoGainMeanErr() const;105 Float_t Get LoGainSigma() const;106 Float_t Get LoGainSigmaErr() const;103 Float_t GetConvertedLoGainMean () const; 104 Float_t GetConvertedLoGainMeanErr () const; 105 Float_t GetConvertedLoGainSigma () const; 106 Float_t GetConvertedLoGainSigmaErr () const; 107 107 Float_t GetMeanConversionBlindPixelMethod() const { return fMeanConversionBlindPixelMethod ; } 108 108 Float_t GetMeanConversionCombinedMethod() const { return fMeanConversionCombinedMethod ; }
Note:
See TracChangeset
for help on using the changeset viewer.