Changeset 5404
- Timestamp:
- 11/16/04 10:01:24 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5402 r5404 21 21 -*-*- END OF LINE -*-*- 22 22 23 2004/11/16: Markus Gaug 24 25 * mcalib/MCalibrationQEPix.[h,cc] 26 - give as argument to UpdateBlindPixelMethod() and 27 UpdateFFactorMethod() the transmission of the plexiglass and the 28 its rel. variance. 29 This divides the normalization factor by those numbers and fixes a 30 bug in the absolute normalization. 31 32 * mcalib/MCalibrationChargeCalc.cc 33 - give the new arguments to MCalibrationQEPix 34 35 23 36 2004/11/15: Thomas Bretz 24 37 … … 77 90 (MHCalibrationChargeChargeBlindCam -> MHCalibrationChargeBlindCam) 78 91 - introduced the new blind pixels initialization 92 93 * msignal/MExtractBlindPixel.cc 94 - added MRawEvtData2 to BranchList 79 95 80 96 -
trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.cc
r5133 r5404 1260 1260 // Update the Blind Pixel Method: Calculate new average QE's 1261 1261 // 1262 Bool_t MCalibrationQEPix::UpdateBlindPixelMethod( )1262 Bool_t MCalibrationQEPix::UpdateBlindPixelMethod( const Float_t plex, const Float_t plexrelvar ) 1263 1263 { 1264 1264 … … 1274 1274 return kFALSE; 1275 1275 1276 fAvNormBlindPixel = weightedav / sumweights;1277 fAvNormBlindPixelVar = 1./ sumweights ;1276 fAvNormBlindPixel = weightedav / plex / sumweights; 1277 fAvNormBlindPixelVar = 1./ sumweights + plexrelvar*fAvNormFFactor; 1278 1278 1279 1279 SetAverageQEBlindPixelAvailable(); … … 1326 1326 // Update the F-Factor Method: Calculate new average QE's 1327 1327 // 1328 Bool_t MCalibrationQEPix::UpdateFFactorMethod( )1328 Bool_t MCalibrationQEPix::UpdateFFactorMethod( const Float_t plex, const Float_t plexrelvar) 1329 1329 { 1330 1330 … … 1340 1340 return kFALSE; 1341 1341 1342 fAvNormFFactor = weightedav / sumweights;1343 fAvNormFFactorVar = 1./ sumweights ;1342 fAvNormFFactor = weightedav / plex / sumweights; 1343 fAvNormFFactorVar = 1./ sumweights + plexrelvar*fAvNormFFactor; 1344 1344 1345 1345 SetAverageQEFFactorAvailable(); -
trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.h
r5045 r5404 166 166 167 167 // Updates 168 Bool_t UpdateBlindPixelMethod( );168 Bool_t UpdateBlindPixelMethod( const Float_t plex, const Float_t plexrelvar ); 169 169 Bool_t UpdateCombinedMethod (); 170 Bool_t UpdateFFactorMethod ( );170 Bool_t UpdateFFactorMethod ( const Float_t plex, const Float_t plexrelvar ); 171 171 Bool_t UpdatePINDiodeMethod (); 172 172
Note:
See TracChangeset
for help on using the changeset viewer.