Changeset 4569
- Timestamp:
- 08/10/04 18:36:28 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4567 r4569 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/08/10: Robert Wagner 23 24 * mreports/MReportCamera.[h,cc] 25 - added function InterpreteHOT which interprete the HOT* part of 26 the report. The variable HVs_modified_by_HOT_Pixels is 27 extracted, but not yet written in the corresponding MARS 28 parameter container 29 21 30 22 31 2004/08/10: Markus Gaug -
trunk/MagicSoft/Mars/mreport/MReportCamera.cc
r2892 r4569 379 379 // -------------------------------------------------------------------------- 380 380 // 381 // Interprete the HOT* part of the report 382 // 383 Bool_t MReportCamera::InterpreteHOT(TString &str) 384 { 385 386 if (!CheckTag(str, "HOT ")) 387 return kFALSE; 388 389 Int_t len; 390 Int_t hot; 391 392 const Int_t n=sscanf(str.Data(), "%hd %n", &hot, &len); 393 if (n!=1) 394 { 395 *fLog << warn << "WARNING - Reading information of 'HOT' section." << endl; 396 return kFALSE; 397 } 398 399 str.Remove(0, len); 400 str=str.Strip(TString::kBoth); 401 return kTRUE; 402 403 } 404 405 406 // -------------------------------------------------------------------------- 407 // 381 408 // Interprete the CAMERA-REPORT part 382 409 // … … 449 476 return kCONTINUE; 450 477 478 if (!InterpreteHOT(str)) 479 return kCONTINUE; 480 451 481 if (str!="OVER") 452 482 { -
trunk/MagicSoft/Mars/mreport/MReportCamera.h
r3066 r4569 38 38 Bool_t InterpreteAUX(TString &str); 39 39 Bool_t InterpreteCAL(TString &str); 40 Bool_t InterpreteHOT(TString &str); 40 41 41 42 Int_t InterpreteBody(TString &str);
Note:
See TracChangeset
for help on using the changeset viewer.