From 1537aaab653f82423f0a18085d6029855830cca7 Mon Sep 17 00:00:00 2001 From: David Nathan Brown Date: Wed, 13 Mar 2024 14:31:01 -0500 Subject: [PATCH 1/2] Fix config --- fcl/prolog_trigger.fcl | 1 - 1 file changed, 1 deletion(-) diff --git a/fcl/prolog_trigger.fcl b/fcl/prolog_trigger.fcl index 721e1e1..c398bd2 100644 --- a/fcl/prolog_trigger.fcl +++ b/fcl/prolog_trigger.fcl @@ -14,7 +14,6 @@ TrkAnaTrigger : { FillCaloMC : false RecoCountTag : "" FillTriggerInfo : true - FillTrkQualInfo : false FillTrkPIDInfo : false FillHitInfo : true FillTriggerInfo : false From 0d90c7f5a874d9963dd41139a913102026022f03 Mon Sep 17 00:00:00 2001 From: David Nathan Brown Date: Wed, 13 Mar 2024 16:21:12 -0500 Subject: [PATCH 2/2] Add script for processing the output of mu2e_trig_config/test/testTriggerMC.fcl --- fcl/TrkAnaTriggerMC.fcl | 79 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 fcl/TrkAnaTriggerMC.fcl diff --git a/fcl/TrkAnaTriggerMC.fcl b/fcl/TrkAnaTriggerMC.fcl new file mode 100644 index 0000000..362cb27 --- /dev/null +++ b/fcl/TrkAnaTriggerMC.fcl @@ -0,0 +1,79 @@ +# +# Run TrkAna on the output of the trigger, including MC truth matching +# +#include "Offline/fcl/standardServices.fcl" +#include "TrkAna/fcl/prolog_trigger.fcl" +process_name : TrkAnaTriggerMC +services : @local::Services.Reco +source : { + module_type : RootInput +} + +physics : { + analyzers : { + TAtprDeM : { + @table::TrkAnaTrigger.TrkAnaDeMTT + FitType : LoopHelix + candidate : { + branch: "trk" + options : { + @table::AllOpt + fillHits : true + } + input : "TTKSF" + suffix : "DeM" + } + KalSeedMCAssns: "SelectRecoMCtprDeM" + SelectEvents : [ "globalTrigger:tprDeM_highP_stopTarg" ] + } + TAcprDeM : { + @table::TrkAnaTrigger.TrkAnaDeMTT + FitType : LoopHelix + candidate : { + branch: "trk" + options : { + @table::AllOpt + fillHits : true + } + input : "TTCalSeedFit" + suffix : "Dem" + } + KalSeedMCAssns: "SelectRecoMCcprDeM" + SelectEvents : [ "globalTrigger:cprDeM_highP_stopTarg" ] + } + TAtprDeP : { + @table::TrkAnaTrigger.TrkAnaDePTT + FitType : LoopHelix + candidate : { + branch: "trk" + options : { + @table::AllOpt + fillHits : true + } + input : "TTKSF" + suffix : "DeP" + } + KalSeedMCAssns: "SelectRecoMCtprDeP" + SelectEvents : [ "globalTrigger:tprDeP_highP_stopTarg" ] + } + TAcprDeP : { + @table::TrkAnaTrigger.TrkAnaDePTT + FitType : LoopHelix + candidate : { + branch: "trk" + options : { + @table::AllOpt + fillHits : true + } + input : "TTCalSeedFit" + suffix : "Dep" + } + KalSeedMCAssns: "SelectRecoMCcprDeP" + # SelectEvents : [ "globalTrigger:cprDeP_highP_stopTarg" ] + SelectEvents : [ "globalTrigger:cprDeP_highP_stopTarg" ] + } + } + EndPath : [TAtprDeM, TAcprDeM, TAtprDeP, TAcprDeP] +} +end_paths : [ EndPath ] +services.TFileService.fileName: "nts.owner.trkana-triggerMC.version.sequencer.root"