From 32abb5a3a4b79b7de2f2b70d8ab6b3991c2633fd Mon Sep 17 00:00:00 2001 From: David Nathan Brown Date: Wed, 12 Aug 2026 11:46:54 -0700 Subject: [PATCH 1/2] Add script to coarsely select reflecting cosmic rays --- JobConfig/recoMC/RefSelect.fcl | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 JobConfig/recoMC/RefSelect.fcl diff --git a/JobConfig/recoMC/RefSelect.fcl b/JobConfig/recoMC/RefSelect.fcl new file mode 100644 index 00000000..2fcdcba2 --- /dev/null +++ b/JobConfig/recoMC/RefSelect.fcl @@ -0,0 +1,47 @@ +# +# Script to select reflecting cosmic ray particles starting with standard recoMC output +# original author: D. Brown, 6/25/26 +# +#include "Production/JobConfig/recoMC/prolog.fcl" +outputs.CentralHelixOutput.fileName : nil +outputs.LoopHelixOutput.fileName : nil +services : @local::Services.Reco +process_name: RefRegrow +source : { module_type : RootInput } + +physics.filters : { + Reflecte : { + @table::TrkReco.filters.SelectT0Reflections + UpstreamKalSeedCollection : "KKUe" + DownstreamKalSeedCollection : "KKDe" + } + + Reflectmu : { + @table::TrkReco.filters.SelectT0Reflections + UpstreamKalSeedCollection : "KKUmu" + DownstreamKalSeedCollection : "KKDmu" + } +} + +physics.RePath : [ Reflecte ] +physics.RmuPath : [ Reflectmu ] + +physics.trigger_paths : [ RePath, RmuPath ] + +outputs.RefOutput : { + @table::Reconstruction.Output + SelectEvents : [RePath, RmuPath] + fileName : "mcs.user.RegrownReflectione.config.seq.art" + outputCommands: [ + @sequence::Reconstruction.Output.outputCommands, + "keep *_Reflect*_*_*" + ] +} + +physics.RefEndPath : [ RefOutput ] +physics.end_paths : [ RefEndPath ] + +# Uncomment and update as needed +#services.DbService.purpose: Sim_best +#services.DbService.version: v1_4 +#services.DbService.verbose: 2 From bcb2509e21c1c059cef4e6f20399ca2973511d7a Mon Sep 17 00:00:00 2001 From: David Nathan Brown Date: Fri, 14 Aug 2026 11:45:40 -0700 Subject: [PATCH 2/2] Add reco script. Fix output names --- JobConfig/reco/RefSelect.fcl | 47 ++++++++++++++++++++++++++++++++++ JobConfig/recoMC/RefSelect.fcl | 2 +- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 JobConfig/reco/RefSelect.fcl diff --git a/JobConfig/reco/RefSelect.fcl b/JobConfig/reco/RefSelect.fcl new file mode 100644 index 00000000..05f2f25b --- /dev/null +++ b/JobConfig/reco/RefSelect.fcl @@ -0,0 +1,47 @@ +# +# Script to select reflecting cosmic ray particles starting with standard recoMC output +# original author: D. Brown, 6/25/26 +# +#include "Production/JobConfig/reco/prolog.fcl" +outputs.CentralHelixOutput.fileName : nil +outputs.LoopHelixOutput.fileName : nil +services : @local::Services.Reco +process_name: RefRegrow +source : { module_type : RootInput } + +physics.filters : { + Reflecte : { + @table::TrkReco.filters.SelectT0Reflections + UpstreamKalSeedCollection : "KKUe" + DownstreamKalSeedCollection : "KKDe" + } + + Reflectmu : { + @table::TrkReco.filters.SelectT0Reflections + UpstreamKalSeedCollection : "KKUmu" + DownstreamKalSeedCollection : "KKDmu" + } +} + +physics.RePath : [ Reflecte ] +physics.RmuPath : [ Reflectmu ] + +physics.trigger_paths : [ RePath, RmuPath ] + +outputs.RefOutput : { + @table::Reconstruction.Output + SelectEvents : [RePath, RmuPath] + fileName : "rec.user.RefSelect.config.seq.art" + outputCommands: [ + @sequence::Reconstruction.Output.outputCommands, + "keep *_Reflect*_*_*" + ] +} + +physics.RefEndPath : [ RefOutput ] +physics.end_paths : [ RefEndPath ] + +# Uncomment and update as needed +#services.DbService.purpose: Sim_best +#services.DbService.version: v1_4 +#services.DbService.verbose: 2 diff --git a/JobConfig/recoMC/RefSelect.fcl b/JobConfig/recoMC/RefSelect.fcl index 2fcdcba2..bad45bba 100644 --- a/JobConfig/recoMC/RefSelect.fcl +++ b/JobConfig/recoMC/RefSelect.fcl @@ -31,7 +31,7 @@ physics.trigger_paths : [ RePath, RmuPath ] outputs.RefOutput : { @table::Reconstruction.Output SelectEvents : [RePath, RmuPath] - fileName : "mcs.user.RegrownReflectione.config.seq.art" + fileName : "mcs.user.RefSelect.config.seq.art" outputCommands: [ @sequence::Reconstruction.Output.outputCommands, "keep *_Reflect*_*_*"