Changeset 8383 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 03/28/07 13:43:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r8244 r8383 55 55 #include "MTaskEnv.h" 56 56 #include "MPointingDevCalc.h" 57 #include "MParameterCalc.h" 57 58 #include "MSrcPosRndm.h" 58 59 #include "MSrcPosCalc.h" … … 375 376 write->AddContainer("MMcEvt", "Events", kFALSE); 376 377 write->AddContainer("DataType", "Events"); 378 write->AddContainer("RunNumber", "Events"); 379 write->AddContainer("EvtNumber", "Events"); 377 380 // write->AddContainer("MMuonSearchPar", "Events", kFALSE); 378 381 // write->AddContainer("MMuonCalibPar", "Events", kFALSE); … … 549 552 MParList plist; 550 553 551 MHSrcPosCam hsrcpos ;554 MHSrcPosCam hsrcpos(fIsWobble); 552 555 if (!fIsWobble && source.IsInitialized() && fRndmSrcPos) 553 556 { … … 662 665 taskenv3.SetDefault(fCalcDisp); 663 666 667 MParameterCalc setevtnum("MRawEvtHeader.fDAQEvtNumber", "SetEvtNumber"); 668 setevtnum.SetNameParameter("EvtNumber"); 669 670 MParameterCalc setrunnum("MRawRunHeader.fRunNumber", "SetRunNumber"); 671 setrunnum.SetNameParameter("RunNumber"); 672 664 673 // MFillH fill0a("OnPos [MHSrcPosCam]", "MSrcPosCam", "FillSrcPosCam"); 665 674 MFillH fill1a("MHHillasOffPre [MHHillas]", "MHillas", "FillHillasPre"); … … 714 723 tlist2.AddToList(&taskenv2); 715 724 tlist2.AddToList(&taskenv3); 725 tlist2.AddToList(&setrunnum); 726 tlist2.AddToList(&setevtnum); 716 727 if (write0) 717 728 tlist2.AddToList(write0); … … 895 906 tlist2.RemoveFromList(&srcrndm); 896 907 } 908 909 MFillH fillsrc(&hsrcpos, "MSrcPosCam", "FillSrcPosCam"); 910 fillsrc.SetNameTab("SrcPos"); 911 if (fIsWobble) 912 tlist2.AddToListBefore(&fillsrc, &hcalc); 913 897 914 if (!fWriteOnly) 898 915 {
Note:
See TracChangeset
for help on using the changeset viewer.