Changeset 6289 for trunk/MagicSoft
- Timestamp:
- 02/08/05 11:56:02 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6283 r6289 20 20 21 21 -*-*- END OF LINE -*-*- 22 23 2005/02/08 Thomas Bretz 24 25 * mpointing/MPointingPosInterpolate.cc: 26 - use debug option in addition to switch off output from internal 27 eventloop. It is confusing having this output inside another 28 eventloop. 29 - updated missing connections in class description 30 31 22 32 23 33 2005/02/07 Thomas Bretz -
trunk/MagicSoft/Mars/mpointing/MPointingPosInterpolate.cc
r6169 r6289 32 32 // 33 33 // Input Containers: 34 // MRawEvtData 34 // MRawEvtData 35 // MReportDrive 36 // MTimeDrive 37 // MTime 35 38 // 36 39 // Output Containers: 37 // MPointingPos40 // MPointingPos 38 41 // 39 42 // … … 104 107 { 105 108 106 *fLog << endl << "["<< GetName() 107 << "]: Loading report file \"" << fFilename << "\" into TSpline..." << endl; 109 *fLog << inf << "Loading report file \"" << fFilename << "\" into TSpline..." << endl; 110 111 if (!fDebug) 112 gLog.SetNullOutput(); 108 113 109 114 // … … 136 141 137 142 if (!evtloop.PreProcess()) 143 { 144 gLog.SetNullOutput(kFALSE); 138 145 return kFALSE; 146 } 139 147 140 148 TArrayD reportTime(fNumStartEvents); … … 172 180 { 173 181 *fLog << warn <<"["<< GetName() 174 182 << "]: Warning: this report has the same time that the previous one...skipping it " << endl; 175 183 continue; 176 184 } … … 194 202 tlist.PrintStatistics(); 195 203 196 *fLog << "["<< GetName() << "]: loaded " << n-1 << " ReportDrive from " 197 << fFirstDriveTime << " to " << fLastDriveTime << endl << endl; 204 gLog.SetNullOutput(kFALSE); 205 206 *fLog << inf << GetDescriptor() << ": loaded " << n-1 << " ReportDrive from " 207 << fFirstDriveTime << " to " << fLastDriveTime << endl; 198 208 199 209 if (fDebug) … … 222 232 c->SaveAs("pointing.root"); 223 233 } 234 224 235 return kTRUE; 225 236 } … … 278 289 279 290 //const Int_t run = fRunHeader->GetRunNumber(); 280 const MTime * StartRunTime = &fRunHeader->GetRunStart();281 Int_t time = StartRunTime ->GetTime();291 const MTime &StartRunTime = fRunHeader->GetRunStart(); 292 Int_t time = StartRunTime.GetTime(); 282 293 283 294 switch(fTimeMode) 284 295 { 285 296 case kRunTime: 286 time = StartRunTime->GetTime();287 288 297 // 289 298 // Check that we have drive report for this time 290 299 // 291 if( *StartRunTime<fFirstDriveTime || *StartRunTime>fLastDriveTime)300 if( StartRunTime<fFirstDriveTime || StartRunTime>fLastDriveTime) 292 301 { 293 *fLog << err << GetDescriptor() << ": Run time " << *StartRunTime302 *fLog << err << GetDescriptor() << ": Run time " << StartRunTime 294 303 << " outside range of drive reports (" << fFirstDriveTime 295 304 << ", " << fLastDriveTime << ")" << endl; … … 301 310 << fSplineZd->Eval( time )<< ", " <<fSplineAz->Eval( time )<< ")" << endl; 302 311 } 303 break;312 break; 304 313 305 314 case kEventTime: 306 time = fEvtTime->GetTime();307 308 315 if (fDebug) 309 316 { … … 333 340 } 334 341 } 335 break;342 break; 336 343 } 337 344 … … 340 347 // 341 348 //if( *StartRunTime<fFirstDriveTime || *StartRunTime>fLastDriveTime) 342 if( *StartRunTime>fLastDriveTime)343 { 344 *fLog << err << GetDescriptor() << ": Run time " << *StartRunTime349 if( StartRunTime>fLastDriveTime) 350 { 351 *fLog << err << GetDescriptor() << ": Run time " << StartRunTime 345 352 << " outside range of drive reports (" << fFirstDriveTime 346 353 << ", " << fLastDriveTime << ")" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.