Changeset 2563 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 11/23/03 21:18:30 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawSocketRead.cc
r2529 r2563 39 39 // MRawEvtData 40 40 // MRawCrateArray 41 // M RawEvtTime41 // MTime 42 42 // 43 43 ////////////////////////////////////////////////////////////////////////////// … … 147 147 // MRawEvtData <output> if not found it is created 148 148 // MRawCrateArray <output> if not found it is created 149 // M RawEvtTime <output> if not found it is created (MTime)149 // MTime <output> if not found it is created 150 150 // 151 151 // If all containers are found or created the run header is read from the … … 180 180 return kFALSE; 181 181 182 f RawEvtTime = (MTime*)pList->FindCreateObj("MTime", "MRawEvtTime");183 if (!f RawEvtTime)182 fTime = (MTime*)pList->FindCreateObj("MTime"); 183 if (!fTime) 184 184 return kTRUE; 185 185 … … 268 268 269 269 if (atoi(size)==fRawRunHeader->GetNumTotalBytes()) 270 { 271 *fLog << dbg << "Event contains only run header information... skipped." << endl; 270 272 return kCONTINUE; 273 } 271 274 272 275 // 273 276 // Give the run header information to the 'sub-classes' 274 277 // 275 fRawEvtHeader->Init(fRawRunHeader, f RawEvtTime);278 fRawEvtHeader->Init(fRawRunHeader, fTime); 276 279 fRawEvtData ->Init(fRawRunHeader); 277 280 … … 317 320 // 318 321 if (fEvtNumber==fRawEvtHeader->GetDAQEvtNumber()) 322 { 323 *fLog << dbg << "Event number #" << dec << fEvtNumber << " didn't change... skipped." << endl; 319 324 return kCONTINUE; 325 } 320 326 321 327 fEvtNumber=fRawEvtHeader->GetDAQEvtNumber(); -
trunk/MagicSoft/Mars/mraw/MRawSocketRead.h
r2490 r2563 21 21 MRawEvtData *fRawEvtData; // raw evt header infomation container to fill from file 22 22 MRawCrateArray *fRawCrateArray; // crate information array container to fill from file 23 MTime *f RawEvtTime;// raw evt time information container to fill from file23 MTime *fTime; // raw evt time information container to fill from file 24 24 25 25 MReadSocket *fIn; //! buffered input stream (file to read from)
Note:
See TracChangeset
for help on using the changeset viewer.