Changeset 4178 for trunk/MagicSoft/Mars
- Timestamp:
- 05/25/04 14:23:17 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4169 r4178 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2004/05/25: Raquel de los Reyes 22 23 * mjobs/MJCalibration.cc 24 - uncommented the line to read .raw files. 25 * mraw/MRawFileRead.cc 26 - changed the PreProcess and Process functions to allow the analysis 27 of .raw files. 20 28 21 29 2004/05/25: Markus Gaug -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r4169 r4178 926 926 if (fDataCheck) 927 927 { 928 //rawread.AddFiles(*fRuns);929 928 rawread.AddFiles(*fRuns); 929 tlist.AddToList(&rawread); 930 930 } 931 931 else -
trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
r4115 r4178 278 278 // Now open next (first) file 279 279 // 280 if (!Rewind()) 281 return kFALSE; 280 // if (!Rewind()) 281 // return kFALSE; 282 283 284 fNumFile=0; 285 fNumEvents=0; 282 286 283 287 return kTRUE; … … 296 300 while (1) 297 301 { 298 // 299 // skip events if requested 300 // 301 if (fInterleave>1 && GetNumExecutions()%fInterleave>0 && fIn->peek()!=EOF) 302 if (fIn) 302 303 { 303 SkipEvent(*fIn); 304 return kCONTINUE; 304 // 305 // skip events if requested 306 // 307 if (fInterleave>1 && GetNumExecutions()%fInterleave>0 && fIn->peek()!=EOF) 308 { 309 SkipEvent(*fIn); 310 return kCONTINUE; 311 } 312 313 // 314 // Read a single event from file 315 // 316 const Bool_t rc = ReadEvent(*fIn); 317 if (rc!=kFALSE) 318 return rc; 305 319 } 306 307 //308 // Read a single event from file309 //310 const Bool_t rc = ReadEvent(*fIn);311 if (rc!=kFALSE)312 return rc;313 320 314 321 // … … 318 325 return kFALSE; 319 326 } 320 return kTRUE; 327 return kTRUE; 321 328 } 322 329
Note:
See TracChangeset
for help on using the changeset viewer.