Changeset 6037 for trunk/MagicSoft/Mars
- Timestamp:
- 01/27/05 10:29:40 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6034 r6037 20 20 21 21 -*-*- END OF LINE -*-*- 22 2005/01/27 Daniel Mazin and Markus Gaug 23 24 * mpointing/MInterpolatePointingPos.[h,cc] 25 new class to interpolate pointing positions, adapted from a class 26 by Marcos Lopez 27 28 * mjobs/MJCalibrateSignal.[h,cc] 29 enabled the calibration of data with interlaced calibration events 30 31 22 32 2005/01/27 Thomas Bretz 23 33 -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6035 r6037 269 269 MHCalibrationRelTimeCam hrelcam; 270 270 271 hchacam.SetLoGain(kTRUE);272 hchacam.SetOscillations(kFALSE);273 hrelcam.SetOscillations(kFALSE);274 275 271 interlacedcont.Add(&hchacam); 276 272 interlacedcont.Add(&hbndcam); … … 305 301 if (!ReadCalibration(calibcont, badpix, extractor1, extractor2, geom)) 306 302 return kFALSE; 307 308 badpix.Print();309 303 310 304 *fLog << all; … … 383 377 384 378 MInterpolatePointingPos pextr; 385 // pextr.SetDebug(); // take it out386 379 pextr.AddFiles(&iter); 387 380 … … 404 397 MFTriggerPattern ftp; 405 398 ftp.RequireCalibration(); 406 // ftp.RequireCalibration(kTRUE);407 399 // ftp.DenyCalibration(); 408 400 // ftp.DenyPedestal(); … … 539 531 MHCamEvent evt1(2, "PedRmsFLG", "Pedestal RMS from Lo Gain;;\\sigma_{p} [fadc/sl]"); 540 532 MHCamEvent evt2(0, "Extra'd", "Extracted Signal;;S [fadc/sl]"); 541 MHCamEvent evt3(4, "PedPhot", "Calibrated Pedestal;;P [\\gamma]");533 // MHCamEvent evt3(4, "PedPhot", "Calibrated Pedestal;;P [\\gamma]"); 542 534 MHCamEvent evt4(5, "PedRMS", "Calibrated Pedestal RMS;;\\sigma_{p} [\\gamma]"); 543 535 MHCamEvent evt5(0, "Interp'd", "Interpolated Signal;;S [\\gamma]"); 544 MHCamEvent evt6(2, "Unsuitable", " Unsuitable event ratio;;%");536 MHCamEvent evt6(2, "Unsuitable", "Fraction of unsuitable events per Pixel;;[1]"); 545 537 MHCamEvent evt7(0, "Times", "Arrival Time;;T [slice]"); 546 538 // MHCamEvent evt8(0, "HiLoConv", "Ratio Hi-Lo Gain Signal;;Ratio [1]"); … … 550 542 evt1.EnableVariance(); 551 543 evt2.EnableVariance(); 552 evt3.EnableVariance();544 // evt3.EnableVariance(); 553 545 evt4.EnableVariance(); 554 546 evt5.EnableVariance(); … … 560 552 MFillH fill1(&evt1, "MPedestalFromExtractor", "FillPedRmsFLG"); 561 553 MFillH fill2(&evt2, "MExtractedSignalCam", "FillExtracted"); 562 MFillH fill3(&evt3, "MPedPhotFundamental", "FillPedPhot");554 // MFillH fill3(&evt3, "MPedPhotFundamental", "FillPedPhot"); 563 555 MFillH fill4(&evt4, "MPedPhotFromExtractor", "FillPedRMS"); 564 556 MFillH fill5(&evt5, "MCerPhotEvt", "FillInterpolated"); 565 557 MFillH fill6(&evt6, "MBadPixelsCam", "FillUnsuitable"); 566 558 MFillH fill7(&evt7, "MArrivalTime", "FillTimes"); 567 // MFillH fill8(&evt8, "MCalibrationHiLoCam", "FillRatio");568 // MFillH fill9(&evt9, "MCalibrationHiLoCam", "FillDiff");569 559 570 560 // The second rule is for the case reading raw-files! … … 673 663 tlist2.AddToList(&treat); 674 664 tlist2.AddToList(&fill6); 675 tlist2.AddToList(&fill3);665 // tlist2.AddToList(&fill3); 676 666 tlist2.AddToList(&fill4); 677 667 tlist2.AddToList(&fill5); … … 679 669 tlist2.AddToList(&fill7); 680 670 681 if (fIsHiLoCalibration)682 {683 // tlist2.AddToList(&fill8);684 // tlist2.AddToList(&fill9);685 }686 671 // Setup List for Drive-tree 687 MPointingPosCalc pcalc;672 // MPointingPosCalc pcalc; 688 673 689 674 // Now setup main tasklist 690 675 tlist.AddToList(IsDataCheck() ? (MTask*)&rawread : (MTask*)&readreal); 691 tlist2.AddToList(&pextr); 676 if (!IsDataCheck()) 677 tlist2.AddToList(&pextr); 692 678 tlist.AddToList(&tlist2, IsDataCheck()?"All":"Events"); 693 679 -
trunk/MagicSoft/Mars/mpointing/Makefile
r4826 r6037 20 20 # 21 21 INCLUDES = -I. -I../mbase -I../mraw -I../mreport -I../mmc \ 22 -I../mastro -I../mgeom 22 -I../mastro -I../mgeom -I../mfileio 23 23 24 24 SRCFILES = MPointing.cc \ 25 25 MPointingPos.cc \ 26 26 MPointingPosCalc.cc \ 27 MInterpolatePointingPos.cc \ 27 28 MSrcPosCam.cc \ 28 29 MSrcPosCalc.cc \ -
trunk/MagicSoft/Mars/mpointing/PointingLinkDef.h
r4966 r6037 9 9 #pragma link C++ class MPointingPos+; 10 10 #pragma link C++ class MPointingPosCalc+; 11 #pragma link C++ class MInterpolatePointingPos+; 11 12 12 13 #pragma link C++ class MSrcPosCam+;
Note:
See TracChangeset
for help on using the changeset viewer.