Changeset 5412
- Timestamp:
- 11/16/04 14:56:32 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r5405 r5412 1675 1675 qepix.SetFFactorMethodValid( kTRUE , fPulserColor ); 1676 1676 1677 if (!qepix.UpdateFFactorMethod( qecam->GetPlexiglassQE() , qecam->GetPlexiglassQERelVar()))1677 if (!qepix.UpdateFFactorMethod( qecam->GetPlexiglassQE() )) 1678 1678 *fLog << warn << GetDescriptor() 1679 1679 << ": Cannot update Quantum efficiencies with the F-Factor Method" << endl; … … 1903 1903 qepix.SetBlindPixelMethodValid( kTRUE , fPulserColor ); 1904 1904 1905 if (!qepix.UpdateBlindPixelMethod( qecam->GetPlexiglassQE() , qecam->GetPlexiglassQERelVar()))1905 if (!qepix.UpdateBlindPixelMethod( qecam->GetPlexiglassQE())) 1906 1906 *fLog << warn << GetDescriptor() 1907 1907 << ": Cannot update Quantum efficiencies with the Blind Pixel Method" << endl; -
trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.cc
r5405 r5412 1260 1260 // Update the Blind Pixel Method: Calculate new average QE's 1261 1261 // 1262 Bool_t MCalibrationQEPix::UpdateBlindPixelMethod( const Float_t plex , const Float_t plexrelvar)1262 Bool_t MCalibrationQEPix::UpdateBlindPixelMethod( const Float_t plex ) 1263 1263 { 1264 1264 … … 1275 1275 1276 1276 fAvNormBlindPixel = weightedav / plex / sumweights; 1277 fAvNormBlindPixelVar = 1./ sumweights + plexrelvar*fAvNormFFactor;1277 fAvNormBlindPixelVar = 1./ sumweights; 1278 1278 1279 1279 SetAverageQEBlindPixelAvailable(); … … 1326 1326 // Update the F-Factor Method: Calculate new average QE's 1327 1327 // 1328 Bool_t MCalibrationQEPix::UpdateFFactorMethod( const Float_t plex , const Float_t plexrelvar)1328 Bool_t MCalibrationQEPix::UpdateFFactorMethod( const Float_t plex ) 1329 1329 { 1330 1330 … … 1341 1341 1342 1342 fAvNormFFactor = weightedav / plex / sumweights; 1343 fAvNormFFactorVar = 1./ sumweights + plexrelvar*fAvNormFFactor;1343 fAvNormFFactorVar = 1./ sumweights; 1344 1344 1345 1345 SetAverageQEFFactorAvailable(); -
trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.h
r5404 r5412 166 166 167 167 // Updates 168 Bool_t UpdateBlindPixelMethod( const Float_t plex , const Float_t plexrelvar);168 Bool_t UpdateBlindPixelMethod( const Float_t plex ); 169 169 Bool_t UpdateCombinedMethod (); 170 Bool_t UpdateFFactorMethod ( const Float_t plex , const Float_t plexrelvar);170 Bool_t UpdateFFactorMethod ( const Float_t plex ); 171 171 Bool_t UpdatePINDiodeMethod (); 172 172
Note:
See TracChangeset
for help on using the changeset viewer.