Changeset 18248 for trunk/Mars/fact/analysis/callisto.C
- Timestamp:
- 06/20/15 19:25:14 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/analysis/callisto.C
r18146 r18248 107 107 } 108 108 109 TString timfile = drs.GetFileName(0, MSequence::kFitsDat);109 TString drstime = "/gpfs0/fact/processing/drs_time_calib/20111115.time.drs.fits"; 110 110 TString drs1024 = drs.GetFileName(0, MSequence::kFitsDrs); 111 111 TString pedfile = seq.GetFileName(0, MSequence::kFitsPed); … … 115 115 gLog << "DRS calib 300: " << drsfile << '\n'; 116 116 gLog << "DRS calib 1024: " << drs1024 << "\n\n"; 117 gLog << "DRS calib Time: " << drstime << "\n\n"; 118 119 MDrsCalibrationTime drscalibtime; 120 if (!drscalibtime.ReadFits(drstime.Data())) 121 return 5; 117 122 118 123 MDrsCalibration drscalib300; 119 124 if (!drscalib300.ReadFits(drsfile.Data())) 120 return 5;125 return 6; 121 126 122 127 MDrsCalibration drscalib1024; 123 128 if (!drscalib1024.ReadFits(drs1024.Data())) 124 return 6;129 return 7; 125 130 126 131 gLog << all; 127 gLog << "Time calibration : " << timfile << '\n';128 132 gLog << "Pedestal file: " << pedfile << '\n'; 129 133 gLog << "Light Pulser file: " << calfile << '\n' << endl; … … 135 139 { 136 140 gLog << err << "ERROR - Sequence valid but without files." << endl; 137 return 7;141 return 8; 138 142 } 139 143 iter.Print(); … … 195 199 // hrate.DefaultLabelY("ERROR"); 196 200 197 MDrsCalibrationTime timecam;201 // MDrsCalibrationTime timecam; 198 202 199 203 gStyle->SetOptFit(kTRUE); 200 204 201 205 // ====================================================== 202 206 /* 203 207 gLog << endl; 204 208 gLog.Separator("Processing DRS timing calibration run"); … … 240 244 if (!loop0.GetDisplay()) 241 245 return 9; 242 246 */ 243 247 /* 244 248 MHDrsCalibrationT *t = (MHDrsCalibrationT*)plist4.FindObject("MHDrsCalibrationT"); … … 258 262 plist1.AddToList(&drscalib300); 259 263 plist1.AddToList(&badpixels); 260 plist1.AddToList(& timecam);264 plist1.AddToList(&drscalibtime); 261 265 262 266 MEvtLoop loop1("DetermineCalConst"); … … 363 367 } 364 368 365 timecam.SetDelays(g);369 drscalibtime.SetDelays(g); 366 370 } 367 371 … … 377 381 plist3.AddToList(&drscalib300); 378 382 plist3.AddToList(&badpixels); 379 plist3.AddToList(& timecam);383 plist3.AddToList(&drscalibtime); 380 384 381 385 MEvtLoop loop3("DetermineRndmPed"); … … 451 455 plist4.AddToList(&drscalib300); 452 456 plist4.AddToList(&badpixels); 453 plist4.AddToList(& timecam);457 plist4.AddToList(&drscalibtime); 454 458 455 459 MEvtLoop loop4("DetermineExtractedPed"); … … 519 523 plist5.AddToList(&drscalib300); 520 524 plist5.AddToList(&badpixels); 521 plist5.AddToList(& timecam);525 plist5.AddToList(&drscalibtime); 522 526 523 527 MEvtLoop loop5("CalibratingData");
Note:
See TracChangeset
for help on using the changeset viewer.