Changeset 2896 for trunk/MagicSoft
- Timestamp:
- 01/23/04 17:52:18 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2895 r2896 4 4 5 5 -*-*- END OF LINE -*-*- 6 7 8 2004/01/23: Abelardo Moralejo 9 10 * mcalib/MCalibrate.cc, manalysis/MExtractSignal.cc 11 - Added support (using AddSerialNumber) for stereo MC files. 6 12 7 13 2004/01/23: Thomas Bretz -
trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc
r2893 r2896 94 94 Int_t MExtractSignal::PreProcess(MParList *pList) 95 95 { 96 fRawEvt = (MRawEvtData*)pList->FindObject( "MRawEvtData");96 fRawEvt = (MRawEvtData*)pList->FindObject(AddSerialNumber("MRawEvtData")); 97 97 if (!fRawEvt) 98 98 { 99 *fLog << err << "MRawEvtDatanot found... aborting." << endl;99 *fLog << err << AddSerialNumber("MRawEvtData") << " not found... aborting." << endl; 100 100 return kFALSE; 101 101 } 102 102 103 103 104 fSignals = (MExtractedSignalCam*)pList->FindCreateObj( "MExtractedSignalCam");104 fSignals = (MExtractedSignalCam*)pList->FindCreateObj(AddSerialNumber("MExtractedSignalCam")); 105 105 if (!fSignals) 106 106 return kFALSE; … … 109 109 fLoGainFirst, fLoGainFirst+fNumLoGainSamples-1); 110 110 111 fPedestals = (MPedestalCam*)pList->FindObject( "MPedestalCam");111 fPedestals = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam")); 112 112 if (!fPedestals) 113 113 { 114 *fLog << err << "MPedestalCamnot found... aborting" << endl;114 *fLog << err << AddSerialNumber("MPedestalCam") << " not found... aborting" << endl; 115 115 return kFALSE; 116 116 } -
trunk/MagicSoft/Mars/mcalib/MCalibrate.cc
r2893 r2896 85 85 Int_t MCalibrate::PreProcess(MParList *pList) 86 86 { 87 fSignals = (MExtractedSignalCam*)pList->FindObject( "MExtractedSignalCam");87 fSignals = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam")); 88 88 if (!fSignals) 89 89 { 90 *fLog << err << "MExtractedSignalCamnot found ... aborting" << endl;90 *fLog << err << AddSerialNumber("MExtractedSignalCam") << " not found ... aborting" << endl; 91 91 return kFALSE; 92 92 } 93 93 94 fCalibrations = (MCalibrationCam*)pList->FindObject( "MCalibrationCam");94 fCalibrations = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationCam")); 95 95 if (!fCalibrations) 96 96 { 97 *fLog << err << "MCalibrationCamnot found ... aborting." << endl;97 *fLog << err << AddSerialNumber("MCalibrationCam") << " not found ... aborting." << endl; 98 98 return kFALSE; 99 99 } 100 100 101 fCerPhotEvt = (MCerPhotEvt*)pList->FindCreateObj( "MCerPhotEvt");101 fCerPhotEvt = (MCerPhotEvt*)pList->FindCreateObj(AddSerialNumber("MCerPhotEvt")); 102 102 if (!fCerPhotEvt) 103 103 return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.