Changeset 7189 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 07/14/05 16:03:32 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r7127 r7189 74 74 #include "MCalibrationIntensityRelTimeCam.h" 75 75 #include "MCalibrationIntensityQECam.h" 76 #include "MCalibrationIntensityConstCam.h" 76 77 #include "MBadPixelsIntensityCam.h" 77 78 … … 268 269 MCalibrationIntensityBlindCam iblcam; 269 270 MCalibrationIntensityRelTimeCam itmcam; 271 MCalibrationIntensityConstCam icncam; 270 272 MBadPixelsIntensityCam ibdcam; 271 273 … … 299 301 interlacedcont.Add(&itmcam); 300 302 interlacedcont.Add(&ibdcam); 303 interlacedcont.Add(&icncam); 301 304 interlacedcont.Add(&hchacam); 302 305 if (IsUseBlindPixel()) … … 317 320 calibcont.Add(&qecam); 318 321 calibcont.Add(&bndcam); 319 calibcont.Add(&pind);320 322 calibcont.Add(&tmcam); 323 if (IsUseBlindPixel()) 324 calibcont.Add(&bndcam); 321 325 322 326 if (!ReadCalibration(calibcont, badpix, extractor2, extractor3, geom)) … … 362 366 // This is necessary for the case in which it is not in the files 363 367 MBadPixelsCam badcam; 368 icncam.SetBadPixels(&badpix); 364 369 365 370 // Setup Parlist … … 524 529 525 530 MCalibrationChargeCalc chcalc; 531 chcalc.SetExtractor(extractor3); 532 526 533 MCalibrationRelTimeCalc recalc; 527 534 MCalibCalcFromPast pacalc; … … 570 577 // MHCamEvent evt3(4, "PedPhot", "Calibrated Pedestal;;P [phe]"); 571 578 MHCamEvent evt4( 5, "PedRMS", "Calibrated RMS from Extractor applied to ped.;;\\sigma_{p} [phe]"); 572 MHCamEvent evt5( 0, "Interp'd", "Interpolated Signal per area scaleA/A_{0};;S [phe]");579 MHCamEvent evt5( 0, "Interp'd", "Interpolated Signal scaled with A/A_{0};;S [phe]"); 573 580 MHCamEvent evt6(102, "Unsuitable", "Fraction of unsuitable events per Pixel;;[1]"); 574 581 MHCamEvent evt7( 6, "Times", "Calibrated Arrival Time;;T [fadc sl]"); … … 577 584 evt6.SetThreshold(); 578 585 579 MFillH fill0(&evt0, "MPedestalFundamental", "FillPedFLG");580 MFillH fill1(&evt1, "MPedestalFromExtractorRndm", "FillPedRmsFLG");581 MFillH fill2(&evt2, "MExtractedSignalCam", "FillExtracted");586 MFillH fill0(&evt0, "MPedestalFundamental", "FillPedFLG"); 587 MFillH fill1(&evt1, "MPedestalFromExtractorRndm", "FillPedRmsFLG"); 588 MFillH fill2(&evt2, "MExtractedSignalCam", "FillExtracted"); 582 589 // MFillH fill3(&evt3, "MPedPhotFundamental", "FillPedPhot"); 583 MFillH fill4(&evt4, "MPedPhotFromExtractorRndm", "FillPedRMS");584 MFillH fill5(&evt5, "MSignalCam", "FillInterpolated");585 MFillH fill6(&evt6, "MBadPixelsCam", "FillUnsuitable");586 MFillH fill7(&evt7, "MSignalCam", "FillTimes");587 MFillH fill8(&evt8, "MCalib ConstCam","FillConv");588 MFillH fill9(&evt9, "MSignalCam", "FillPulse");590 MFillH fill4(&evt4, "MPedPhotFromExtractorRndm", "FillPedRMS"); 591 MFillH fill5(&evt5, "MSignalCam", "FillInterpolated"); 592 MFillH fill6(&evt6, "MBadPixelsCam", "FillUnsuitable"); 593 MFillH fill7(&evt7, "MSignalCam", "FillTimes"); 594 MFillH fill8(&evt8, "MCalibrationIntensityConstCam", "FillConv"); 595 MFillH fill9(&evt9, "MSignalCam", "FillPulse"); 589 596 590 597 MTaskEnv fillflorian("FinalFantasy"); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r7188 r7189 1838 1838 MCalibrationChargeCalc calcalc; 1839 1839 MCalibrationRelTimeCalc timecalc; 1840 calcalc.SetExtractor(fExtractor); 1840 1841 calcalc.SetOutputFile(""); 1841 1842 timecalc.SetOutputFile(""); -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r7188 r7189 174 174 } 175 175 176 TObject *o = file.Get("ExtractSignal");177 if (o && !o->InheritsFrom(MExtractor::Class()))178 {179 *fLog << err << dbginf << "ERROR - ExtractSignal read from " << fname << " doesn't inherit from MExtractor!" << endl;180 return NULL;181 }182 183 176 if (file.FindKey("MBadPixelsCam")) 184 177 { … … 190 183 } 191 184 185 if (fExtractor) 186 return fExtractor; 187 188 TObject *o=0; 189 o = file.Get("ExtractSignal"); 190 if (o && !o->InheritsFrom(MExtractor::Class())) 191 { 192 *fLog << err << dbginf << "ERROR - ExtractSignal read from " << fname << " doesn't inherit from MExtractor!" << endl; 193 return NULL; 194 } 192 195 return o ? (MExtractor*)o->Clone("ExtractSignal") : NULL; 193 196 }
Note:
See TracChangeset
for help on using the changeset viewer.