From 72b19a914fa096c703fe30330cc580bda7953809 Mon Sep 17 00:00:00 2001 From: michaelmackenzie Date: Mon, 20 Jul 2026 12:40:13 -0500 Subject: [PATCH 1/5] Add empty time cluster lists for now --- JobConfig/reco/prolog.fcl | 1 + JobConfig/recoMC/prolog.fcl | 1 + 2 files changed, 2 insertions(+) diff --git a/JobConfig/reco/prolog.fcl b/JobConfig/reco/prolog.fcl index 07de1de5..b41905c8 100644 --- a/JobConfig/reco/prolog.fcl +++ b/JobConfig/reco/prolog.fcl @@ -112,6 +112,7 @@ Reconstruction : { CaloClusterCollection : "CaloClusterMaker" CrvCoincidenceClusterCollection : "CrvCoincidenceClusterFinder" KalSeedCollections : [ "KKDe", "KKDmu", "KKUe", "KKUmu", "KKLine", "KKCHmu" ] + TimeClusterCollections : [ ] } # regrow RegrowSH : { diff --git a/JobConfig/recoMC/prolog.fcl b/JobConfig/recoMC/prolog.fcl index 76e59b3a..322a2e76 100644 --- a/JobConfig/recoMC/prolog.fcl +++ b/JobConfig/recoMC/prolog.fcl @@ -30,6 +30,7 @@ Reconstruction.producers : { StrawDigiMCCollection : "compressDigiMCs" CrvDigiMCCollection : "compressDigiMCs" KalSeedCollections : [ "KKDe", "KKDmu", "KKUe", "KKUmu", "KKLine", "KKCHmu" ] + TimeClusterCollections : [ ] VDSPCollection : "compressDigiMCs:virtualdetector" } # Compresion From 65cfe41e424ebeaca7282b4d74f8279e099d718a Mon Sep 17 00:00:00 2001 From: michaelmackenzie Date: Mon, 20 Jul 2026 12:49:30 -0500 Subject: [PATCH 2/5] Add proton line reco to Run 1B reco --- JobConfig/recoMC/NoFieldRun1B.fcl | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/JobConfig/recoMC/NoFieldRun1B.fcl b/JobConfig/recoMC/NoFieldRun1B.fcl index 2ecfddbc..cff40bc2 100644 --- a/JobConfig/recoMC/NoFieldRun1B.fcl +++ b/JobConfig/recoMC/NoFieldRun1B.fcl @@ -48,10 +48,29 @@ physics.producers.CalTimeClusterFinder : { physics.producers.LineFinder.TimeClusterCollection : "CalTimeClusterFinder" physics.producers.LineFinder.ComboHitCollection: "makePH" +# Add proton reco +physics.producers.ProtonCalTimeClusterFinder : { + @table::physics.producers.CalTimeClusterFinder + StrawEDepMin : 0.002 # proton-like + StrawEDepMax : 0.005 +} +physics.producers.ProtonLineFinder : { + @table::physics.producers.LineFinder + TimeClusterCollection: "ProtonCalTimeClusterFinder" +} +physics.producers.ProtonKKLine : { + @table::physics.producers.KKLine +} +physics.producers.ProtonKKLine.ModuleSettings.CosmicTrackSeedCollections : [ "ProtonLineFinder" ] +physics.producers.ProtonKKLine.ModuleSettings.FitParticle: 2212 +physics.producers.ProtonKKLine.ModuleSettings.SeedMomentum : 400. # ~80 MeV KE +physics.producers.SelectReco.KalSeedCollections : [ @sequence::physics.producers.SelectReco.KalSeedCollections, "ProtonKKLine" ] + outputs.KinematicLineOutput.outputCommands: [ @sequence::outputs.KinematicLineOutput.outputCommands, "keep mu2e::CosmicTrackSeeds_*_*_*", - "keep mu2e::TimeClusters_*_*_*" + "keep mu2e::TimeClusters_*_*_*", + "keep mu2e::KalSeeds_ProtonKKLine_*_*" ] physics.RecoPath: [ @@ -70,6 +89,9 @@ physics.RecoPath: [ "TimeAndPhiClusterFinder", "LineFinder", "KKLine", + "ProtonCalTimeClusterFinder", + "ProtonLineFinder", + "ProtonKKLine", "SelectReco", "CaloHitTruthMatch", "CaloClusterTruthMatch", From e9a0beaa23c213b823e9a636dad0e66f37e2a347 Mon Sep 17 00:00:00 2001 From: michaelmackenzie Date: Mon, 20 Jul 2026 13:00:08 -0500 Subject: [PATCH 3/5] Add general cosmic cluster reco with target constraints to Run 1B reco, add test --- JobConfig/recoMC/NoFieldRun1B.fcl | 25 +++++++++++++++++++++++-- Tests/Run1BReco.fcl | 7 +++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 Tests/Run1BReco.fcl diff --git a/JobConfig/recoMC/NoFieldRun1B.fcl b/JobConfig/recoMC/NoFieldRun1B.fcl index cff40bc2..6011f3f3 100644 --- a/JobConfig/recoMC/NoFieldRun1B.fcl +++ b/JobConfig/recoMC/NoFieldRun1B.fcl @@ -44,6 +44,9 @@ physics.producers.CalTimeClusterFinder : { CaloClusterCollectionLabel : "CaloClusterMaker" } +# Only produce clusters associated with calo clusters +physics.producers.TZClusterFinder.requireCCs : true + # physics.producers.LineFinder.TimeClusterCollection : "TimeAndPhiClusterFinder" physics.producers.LineFinder.TimeClusterCollection : "CalTimeClusterFinder" physics.producers.LineFinder.ComboHitCollection: "makePH" @@ -66,11 +69,26 @@ physics.producers.ProtonKKLine.ModuleSettings.FitParticle: 2212 physics.producers.ProtonKKLine.ModuleSettings.SeedMomentum : 400. # ~80 MeV KE physics.producers.SelectReco.KalSeedCollections : [ @sequence::physics.producers.SelectReco.KalSeedCollections, "ProtonKKLine" ] +# Add cosmic muon reco +physics.producers.CosmicLineFinder : { + @table::physics.producers.LineFinder + TimeClusterCollection: "TZClusterFinder" +} +physics.producers.CosmicKKLine : { + @table::physics.producers.KKLine +} +physics.producers.CosmicKKLine.ModuleSettings.CosmicTrackSeedCollections : [ "CosmicLineFinder" ] +physics.producers.CosmicKKLine.ModuleSettings.FitParticle: 13 +physics.producers.CosmicKKLine.ModuleSettings.SeedMomentum : 200. +physics.producers.SelectReco.KalSeedCollections : [ @sequence::physics.producers.SelectReco.KalSeedCollections, "CosmicKKLine" ] + +# Final config outputs.KinematicLineOutput.outputCommands: [ @sequence::outputs.KinematicLineOutput.outputCommands, "keep mu2e::CosmicTrackSeeds_*_*_*", "keep mu2e::TimeClusters_*_*_*", - "keep mu2e::KalSeeds_ProtonKKLine_*_*" + "keep mu2e::KalSeeds_ProtonKKLine_*_*", + "keep mu2e::KalSeeds_CosmicKKLine_*_*" ] physics.RecoPath: [ @@ -86,12 +104,15 @@ physics.RecoPath: [ "CrvRecoPulses", "CrvCoincidenceClusterFinder", "CalTimeClusterFinder", + "ProtonCalTimeClusterFinder", "TimeAndPhiClusterFinder", + "TZClusterFinder", "LineFinder", "KKLine", - "ProtonCalTimeClusterFinder", "ProtonLineFinder", "ProtonKKLine", + "CosmicLineFinder", + "CosmicKKLine", "SelectReco", "CaloHitTruthMatch", "CaloClusterTruthMatch", diff --git a/Tests/Run1BReco.fcl b/Tests/Run1BReco.fcl new file mode 100644 index 00000000..eaf5062f --- /dev/null +++ b/Tests/Run1BReco.fcl @@ -0,0 +1,7 @@ +#include "Production/JobConfig/recoMC/NoFieldRun1B.fcl" + +services.GeometryService.inputFile: "Offline/Mu2eG4/geom/geom_run1_b_v40.txt" +services.DbService.nearestMatch: true +services.DbService.purpose: "Sim_best" +services.DbService.version: "v1_5" +services.DbService.verbose : 2 From 07c7c0ed4c63ef9ee35d541cb9aa68e4a21d161c Mon Sep 17 00:00:00 2001 From: michaelmackenzie Date: Mon, 20 Jul 2026 13:03:44 -0500 Subject: [PATCH 4/5] Keep hits in time clusters --- JobConfig/recoMC/NoFieldRun1B.fcl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/JobConfig/recoMC/NoFieldRun1B.fcl b/JobConfig/recoMC/NoFieldRun1B.fcl index 6011f3f3..24dccd3d 100644 --- a/JobConfig/recoMC/NoFieldRun1B.fcl +++ b/JobConfig/recoMC/NoFieldRun1B.fcl @@ -91,6 +91,12 @@ outputs.KinematicLineOutput.outputCommands: [ "keep mu2e::KalSeeds_CosmicKKLine_*_*" ] +physics.producers.SelectReco.TimeClusterCollections : [ + "CalTimeClusterFinder", + "ProtonCalTimeClusterFinder", + "TZClusterFinder" +] + physics.RecoPath: [ "CaloRecoDigiMaker", "CaloHitMaker", From e907cbc4905e34740290fc5390fd78c6f15d437a Mon Sep 17 00:00:00 2001 From: michaelmackenzie Date: Mon, 20 Jul 2026 13:22:44 -0500 Subject: [PATCH 5/5] Add empty time cluster collection lists to trigger MC --- JobConfig/digitize/prolog.fcl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/JobConfig/digitize/prolog.fcl b/JobConfig/digitize/prolog.fcl index b1343b3c..32baa91b 100644 --- a/JobConfig/digitize/prolog.fcl +++ b/JobConfig/digitize/prolog.fcl @@ -67,26 +67,31 @@ Digitize: { @table::CommonMC.TTSelectRecoMC ComboHitCollection : "TrigFlagPH" KalSeedCollections : [ "TrigAprKSF" ] + TimeClusterCollections : [ ] } TrigAprUeKSFMC : { @table::CommonMC.TTSelectRecoMC ComboHitCollection : "TrigFlagPH" KalSeedCollections : [ "TrigAprUeKSF" ] + TimeClusterCollections : [ ] } TrigTprDeKSFMC : { @table::CommonMC.TTSelectRecoMC ComboHitCollection : "TrigFlagPH" KalSeedCollections : [ "TrigKSFDe" ] + TimeClusterCollections : [ ] } TrigMprDeKSFMC : { @table::CommonMC.TTSelectRecoMC ComboHitCollection : "TrigFlagPH" KalSeedCollections : [ "TrigKSFMprDe" ] + TimeClusterCollections : [ ] } TrigCprDeKSFMC : { @table::CommonMC.TTSelectRecoMC ComboHitCollection : "TrigFlagPH" KalSeedCollections : [ "TrigCalSeedFitDe" ] + TimeClusterCollections : [ ] } } filters : {