Changeset 6858 for trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
- Timestamp:
- 03/18/05 18:07:46 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6839 r6858 53 53 #include "MGeomCam.h" 54 54 #include "MHCamEvent.h" 55 //#include "MHCamEventTH.h" 55 56 #include "MPedestalCam.h" 56 57 #include "MBadPixelsCam.h" … … 610 611 MHCamEvent evt5(0, "Interp'd", "Interpolated Signal;;S [phe]"); 611 612 MHCamEvent evt6(2, "Unsuitable", "Fraction of unsuitable events per Pixel;;[1]"); 612 MHCamEvent evt7( 0, "Times", "Calibrated Arrival Time;;T [fadc sl]");613 MHCamEvent evt7(6, "Times", "Calibrated Arrival Time;;T [fadc sl]"); 613 614 MHCamEvent evt8(0, "Conv", "Calibration Conv. Factors;;[phe/fadc cnts]"); 614 //MHCamEvent evt9(0, "PulsePos", "Pulse Position of cosmics"); //Calibration Conv. Factors;;[phe/fadc cnts] 615 615 MHCamEvent evt9(7, "PulsePos", "Pulse Position of cosmics (>15phe);;T"); //Calibration Conv. Factors;;[phe/fadc cnts] 616 /* 617 MHCamEventTH evt9(6, "PulsePos", "Pulse Position of cosmics"); //Calibration Conv. Factors;;[phe/fadc cnts] 618 evt9.SetNameThreshold("MCerPhotEvt"); 619 evt9.SetThreshold(15); 620 */ 621 /* 616 622 evt0.EnableSqrtVariance(); 617 623 evt1.EnableSqrtVariance(); … … 622 628 evt7.EnableSqrtVariance(); 623 629 evt8.EnableSqrtVariance(); 624 630 */ 625 631 MFillH fill0(&evt0, "MPedestalFundamental", "FillPedFLG"); 626 632 MFillH fill1(&evt1, "MPedestalFromExtractorRndm", "FillPedRmsFLG"); … … 630 636 MFillH fill5(&evt5, "MCerPhotEvt", "FillInterpolated"); 631 637 MFillH fill6(&evt6, "MBadPixelsCam", "FillUnsuitable"); 632 MFillH fill7(&evt7, "M ArrivalTime","FillTimes");638 MFillH fill7(&evt7, "MCerPhotEvt", "FillTimes"); 633 639 MFillH fill8(&evt8, "MCalibConstCam", "FillConv"); 634 //MFillH fill9(&evt9, "MCalibConstCam","FillPulse");640 MFillH fill9(&evt9, "MCerPhotEvt", "FillPulse"); 635 641 636 642 MTaskEnv fillflorian("FinalFantasy"); 637 643 fillflorian.SetDefault(); 638 639 // Write the special MC tree640 MWriteRootFile writemc(2, fname, fOverwrite?"RECREATE":"NEW");641 writemc.SetName("WriteMC");642 writemc.AddContainer("MMcEvtBasic", "OriginalMC");643 644 644 645 // The second rule is for the case reading raw-files! … … 664 665 write.AddContainer("MTime", "Events", kFALSE); 665 666 write.AddContainer("MRawEvtHeader", "Events"); 666 write.AddContainer("MArrivalTime", "Events", kFALSE);667 //write.AddContainer("MArrivalTime", "Events", kFALSE); 667 668 write.AddContainer("MPointingPos", "Events", kFALSE); 668 669 // Slow-Control: Current-tree … … 688 689 write.AddContainer("MReportCC", "CC", kFALSE); 689 690 write.AddContainer("MTimeCC", "CC", kFALSE); 691 692 // Write the special MC tree 693 MWriteRootFile writemc(2, fname, fOverwrite?"RECREATE":"NEW"); 694 writemc.SetName("WriteMC"); 695 writemc.AddContainer("MMcEvtBasic", "OriginalMC"); 690 696 691 697 // Now setup tasklist for events … … 754 760 if (extractor2 || extractor1->InheritsFrom("MExtractTimeAndCharge")) 755 761 tlist2.AddToList(&fill7); 762 tlist2.AddToList(&fill9); 756 763 757 764 tlist2.AddToList(&fillflorian);
Note:
See TracChangeset
for help on using the changeset viewer.