Changeset 6197 for trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
- Timestamp:
- 02/02/05 12:03:16 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6191 r6197 257 257 258 258 MDirIter iter; 259 const Int_t n0 = fSequence.SetupDatRuns(iter, fPathData, "D", IsUseRawData()); 260 const Int_t n1 = fSequence.GetNumDatRuns(); 261 if (n0==0) 262 { 263 *fLog << err << "ERROR - No input files of sequence found!" << endl; 264 return kFALSE; 265 } 266 if (n0!=n1) 267 { 268 *fLog << err << "ERROR - Number of files found (" << n0 << ") doesn't match number of files in sequence (" << n1 << ")" << endl; 269 return kFALSE; 270 } 271 259 if (fSequence.IsValid()) 260 { 261 const Int_t n0 = fSequence.SetupDatRuns(iter, fPathData, "D", IsUseRawData()); 262 const Int_t n1 = fSequence.GetNumDatRuns(); 263 if (n0==0) 264 { 265 *fLog << err << "ERROR - No input files of sequence found!" << endl; 266 return kFALSE; 267 } 268 if (n0!=n1) 269 { 270 *fLog << err << "ERROR - Number of files found (" << n0 << ") doesn't match number of files in sequence (" << n1 << ")" << endl; 271 return kFALSE; 272 } 273 } 274 272 275 // Read File 273 276 MCalibrationIntensityChargeCam ichcam;
Note:
See TracChangeset
for help on using the changeset viewer.