From 56523f10fe0eca7c3b0f1dbb69488073c29df068 Mon Sep 17 00:00:00 2001 From: Rob Mina Date: Thu, 5 Nov 2026 21:20:55 -0600 Subject: [PATCH 1/6] Configuration for new track/CRV association objects. --- JobConfig/reco/prolog.fcl | 28 +++++++++++++++++++++++----- JobConfig/recoMC/prolog.fcl | 24 ++++++++++++++++++++---- 2 files changed, 43 insertions(+), 9 deletions(-) diff --git a/JobConfig/reco/prolog.fcl b/JobConfig/reco/prolog.fcl index 878edcd5..3e15bb87 100644 --- a/JobConfig/reco/prolog.fcl +++ b/JobConfig/reco/prolog.fcl @@ -30,6 +30,15 @@ Reconstruction : { @table::CrvRecoPackage.producers @table::CosmicReco.producers + # track-CRV association, one instance per KalSeedCollection: after SelectReco, on its clusters (the layer probe + # reads all CrvRecoPulses, which are still in the event); LoopHelix fits do not reach the CRV, so time only + TrkCrvMatchLine : { @table::TrkCrvMatcher KalSeedCollection : "KKLine" } + TrkCrvMatchCHmu : { @table::TrkCrvMatcher KalSeedCollection : "KKCHmu" } + TrkCrvMatchDe : { @table::TrkCrvMatcher KalSeedCollection : "KKDe" DoGeometric : false LayerProbe : false } + TrkCrvMatchUe : { @table::TrkCrvMatcher KalSeedCollection : "KKUe" DoGeometric : false LayerProbe : false } + TrkCrvMatchDmu : { @table::TrkCrvMatcher KalSeedCollection : "KKDmu" DoGeometric : false LayerProbe : false } + TrkCrvMatchUmu : { @table::TrkCrvMatcher KalSeedCollection : "KKUmu" DoGeometric : false LayerProbe : false } + # choose the hit flagger flagPH : @local::CalPatRec.producers.DeltaFinder # flagPH : @local::TrkHitReco.producers.FlagBkgHits @@ -294,6 +303,10 @@ Reconstruction : { CaloReco : [ @sequence::CaloReco.Reco, @sequence::CaloCluster.Reco ] # CRV reco CrvReco : [ @sequence::CrvRecoPackage.CrvRecoSequence ] + # track-CRV association, after SelectReco + TrkCrvMatchLH : [ TrkCrvMatchDe, TrkCrvMatchUe, TrkCrvMatchDmu, TrkCrvMatchUmu ] + TrkCrvMatchNoField : [ TrkCrvMatchLine ] + TrkCrvMatchOffSpill : [ TrkCrvMatchCHmu, TrkCrvMatchDe, TrkCrvMatchUe, TrkCrvMatchDmu, TrkCrvMatchUmu ] # define products to keep # First, high-level reco products, and associated sub-products @@ -309,7 +322,8 @@ Reconstruction : { "keep mu2e::CaloDigis_SelectReco_*_*", "keep mu2e::CrvDigis_SelectReco_*_*", "keep mu2e::CrvCoincidenceClusters_SelectReco_*_*", - "keep mu2e::CrvRecoPulses_SelectReco_*_*" + "keep mu2e::CrvRecoPulses_SelectReco_*_*", + "keep mu2e::TrkCrvMatchs_*_*_*" ] # Middle reco products, pat rec intermediate results MidRecoProducts : [ @@ -353,7 +367,8 @@ Reconstruction.NoFieldPath : [ @sequence::Reconstruction.PreTrk, @sequence::Reconstruction.LineReco, KLFilter, - SelectReco + SelectReco, + @sequence::Reconstruction.TrkCrvMatchNoField ] # OnSpill paths; only LoopHelix @@ -361,21 +376,24 @@ Reconstruction.OnSpillPath : [ @sequence::Reconstruction.PreTrk, @sequence::Reconstruction.OnSpillTrk, LHFilter, - SelectReco + SelectReco, + @sequence::Reconstruction.TrkCrvMatchLH ] Reconstruction.CentralHelixPath : [ @sequence::Reconstruction.PreTrk, @sequence::Reconstruction.OffSpillTrk, CHFilter, - SelectReco + SelectReco, + @sequence::Reconstruction.TrkCrvMatchOffSpill ] Reconstruction.LoopHelixPath : [ @sequence::Reconstruction.PreTrk, @sequence::Reconstruction.OffSpillTrk, LHFilter, - SelectReco + SelectReco, + @sequence::Reconstruction.TrkCrvMatchOffSpill ] # default output diff --git a/JobConfig/recoMC/prolog.fcl b/JobConfig/recoMC/prolog.fcl index 7f35600f..9a8bb1d8 100644 --- a/JobConfig/recoMC/prolog.fcl +++ b/JobConfig/recoMC/prolog.fcl @@ -12,6 +12,13 @@ Reconstruction.producers : { @table::Reconstruction.producers @table::CaloMC.producers @table::CrvRecoMCPackage.producers + # truth of the track-CRV association, one per TrkCrvMatcher instance, after compression + TrkCrvMatchLineMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchLine" } + TrkCrvMatchCHmuMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchCHmu" } + TrkCrvMatchDeMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchDe" } + TrkCrvMatchUeMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchUe" } + TrkCrvMatchDmuMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchDmu" } + TrkCrvMatchUmuMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchUmu" } # MC specific output pruning SelectReco : { @@ -69,11 +76,16 @@ RecoMC : { # full MC sequence; form the Calo and CRV matching, and compress based on reco content # temporary build surface steps from StepPointMCs; this is a patch MCReco : [@sequence::CaloMC.TruthMatch, CrvCoincidenceClusterMatchMC, compressRecoMCs, CrvCoincidenceClusterMCAssns ] + # track-CRV association truth, after MCReco (needs compressRecoMCs and CrvCoincidenceClusterMCAssns) + TrkCrvMatchMCLH : [ TrkCrvMatchDeMC, TrkCrvMatchUeMC, TrkCrvMatchDmuMC, TrkCrvMatchUmuMC ] + TrkCrvMatchMCNoField : [ TrkCrvMatchLineMC ] + TrkCrvMatchMCOffSpill : [ TrkCrvMatchCHmuMC, TrkCrvMatchDeMC, TrkCrvMatchUeMC, TrkCrvMatchDmuMC, TrkCrvMatchUmuMC ] # MC truth matched to reco HighRecoMCProducts : [ "keep *_compressRecoMCs_*_*", "keep *_CrvCoincidenceClusterMCAssns_*_*", + "keep mu2e::TrkCrvMatchMCs_*_*_*", "keep *_SelectReco_*_*" ] GeneralMCProducts : [ @@ -91,22 +103,26 @@ Reconstruction : { # Override paths to inclulde MC sequences Reconstruction.NoFieldPath : [ @sequence::Reconstruction.NoFieldPath, - @sequence::RecoMC.MCReco + @sequence::RecoMC.MCReco, + @sequence::RecoMC.TrkCrvMatchMCNoField ] Reconstruction.OnSpillPath : [ @sequence::Reconstruction.OnSpillPath, - @sequence::RecoMC.MCReco + @sequence::RecoMC.MCReco, + @sequence::RecoMC.TrkCrvMatchMCLH ] Reconstruction.CentralHelixPath : [ @sequence::Reconstruction.CentralHelixPath, - @sequence::RecoMC.MCReco + @sequence::RecoMC.MCReco, + @sequence::RecoMC.TrkCrvMatchMCOffSpill ] Reconstruction.LoopHelixPath : [ @sequence::Reconstruction.LoopHelixPath, - @sequence::RecoMC.MCReco + @sequence::RecoMC.MCReco, + @sequence::RecoMC.TrkCrvMatchMCOffSpill ] # add MC-specific payload From a5b655c3f0db4ef289909032a4d9d3bb741f56fb Mon Sep 17 00:00:00 2001 From: Rob Mina Date: Fri, 6 Nov 2026 14:34:35 -0600 Subject: [PATCH 2/6] Update to align with fixed Offline. --- JobConfig/reco/prolog.fcl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/JobConfig/reco/prolog.fcl b/JobConfig/reco/prolog.fcl index 3e15bb87..d0a07da8 100644 --- a/JobConfig/reco/prolog.fcl +++ b/JobConfig/reco/prolog.fcl @@ -31,13 +31,15 @@ Reconstruction : { @table::CosmicReco.producers # track-CRV association, one instance per KalSeedCollection: after SelectReco, on its clusters (the layer probe - # reads all CrvRecoPulses, which are still in the event); LoopHelix fits do not reach the CRV, so time only + # reads all CrvRecoPulses, which are still in the event); LoopHelix fits do not reach the CRV, so time only. + # DtRefCenter: median dtRef of the track's own cluster per fit, from MC truth (KKLine: the Offline default, from + # extracted MDC2025bb; the others from MDC2025au CosmicSignalOffSpill CH and LH reco) TrkCrvMatchLine : { @table::TrkCrvMatcher KalSeedCollection : "KKLine" } - TrkCrvMatchCHmu : { @table::TrkCrvMatcher KalSeedCollection : "KKCHmu" } - TrkCrvMatchDe : { @table::TrkCrvMatcher KalSeedCollection : "KKDe" DoGeometric : false LayerProbe : false } - TrkCrvMatchUe : { @table::TrkCrvMatcher KalSeedCollection : "KKUe" DoGeometric : false LayerProbe : false } - TrkCrvMatchDmu : { @table::TrkCrvMatcher KalSeedCollection : "KKDmu" DoGeometric : false LayerProbe : false } - TrkCrvMatchUmu : { @table::TrkCrvMatcher KalSeedCollection : "KKUmu" DoGeometric : false LayerProbe : false } + TrkCrvMatchCHmu : { @table::TrkCrvMatcher KalSeedCollection : "KKCHmu" DtRefCenter : 27 } + TrkCrvMatchDe : { @table::TrkCrvMatcher KalSeedCollection : "KKDe" DtRefCenter : 32 DoGeometric : false LayerProbe : false } + TrkCrvMatchUe : { @table::TrkCrvMatcher KalSeedCollection : "KKUe" DtRefCenter : 28 DoGeometric : false LayerProbe : false } + TrkCrvMatchDmu : { @table::TrkCrvMatcher KalSeedCollection : "KKDmu" DtRefCenter : 30 DoGeometric : false LayerProbe : false } + TrkCrvMatchUmu : { @table::TrkCrvMatcher KalSeedCollection : "KKUmu" DtRefCenter : 26 DoGeometric : false LayerProbe : false } # choose the hit flagger flagPH : @local::CalPatRec.producers.DeltaFinder From 7b062601b37975c63590120ae0b80d436a36fa31 Mon Sep 17 00:00:00 2001 From: Rob Mina Date: Tue, 10 Nov 2026 08:20:21 -0600 Subject: [PATCH 3/6] TrkCrvMatcher SigmaV for the Run1 geometries; Extracted keeps the Offline per-sector-type list --- JobConfig/reco/Extracted.fcl | 2 ++ JobConfig/reco/prolog.fcl | 5 +++-- JobConfig/recoMC/Extracted.fcl | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/JobConfig/reco/Extracted.fcl b/JobConfig/reco/Extracted.fcl index 6f184c29..c2ee60b2 100644 --- a/JobConfig/reco/Extracted.fcl +++ b/JobConfig/reco/Extracted.fcl @@ -6,6 +6,8 @@ services.GeometryService.inputFile: "Offline/Mu2eG4/geom/geom_common_extracted.t # save the passive-material crossings found during extrapolation (CRV strongbacks) in the KalSeed intersections physics.producers.KKLine.KKFitSettings.SaveMaterialXings : true #include "Offline/CRVReco/fcl/epilog_extracted.fcl" +# extracted geometry: the Offline SigmaV list per CRV sector type (EX, T1, T2, muon taggers) +physics.producers.TrkCrvMatchLine.SigmaV : @local::TrkCrvMatcher.SigmaV # Disable KL filtering so track-less events are kept (needed for CRV # efficiency / tag-and-probe; matches OnSpill LHFilter disable). diff --git a/JobConfig/reco/prolog.fcl b/JobConfig/reco/prolog.fcl index d0a07da8..b2df5ded 100644 --- a/JobConfig/reco/prolog.fcl +++ b/JobConfig/reco/prolog.fcl @@ -34,8 +34,9 @@ Reconstruction : { # reads all CrvRecoPulses, which are still in the event); LoopHelix fits do not reach the CRV, so time only. # DtRefCenter: median dtRef of the track's own cluster per fit, from MC truth (KKLine: the Offline default, from # extracted MDC2025bb; the others from MDC2025au CosmicSignalOffSpill CH and LH reco) - TrkCrvMatchLine : { @table::TrkCrvMatcher KalSeedCollection : "KKLine" } - TrkCrvMatchCHmu : { @table::TrkCrvMatcher KalSeedCollection : "KKCHmu" DtRefCenter : 27 } + # SigmaV for the Run1 geometries, whose T1 and T2 are both CRV sector type 1: provisional, the extracted T1 value + TrkCrvMatchLine : { @table::TrkCrvMatcher KalSeedCollection : "KKLine" SigmaV : [ 13 ] } + TrkCrvMatchCHmu : { @table::TrkCrvMatcher KalSeedCollection : "KKCHmu" DtRefCenter : 27 SigmaV : [ 13 ] } TrkCrvMatchDe : { @table::TrkCrvMatcher KalSeedCollection : "KKDe" DtRefCenter : 32 DoGeometric : false LayerProbe : false } TrkCrvMatchUe : { @table::TrkCrvMatcher KalSeedCollection : "KKUe" DtRefCenter : 28 DoGeometric : false LayerProbe : false } TrkCrvMatchDmu : { @table::TrkCrvMatcher KalSeedCollection : "KKDmu" DtRefCenter : 30 DoGeometric : false LayerProbe : false } diff --git a/JobConfig/recoMC/Extracted.fcl b/JobConfig/recoMC/Extracted.fcl index cddfc789..ceb8c3c9 100644 --- a/JobConfig/recoMC/Extracted.fcl +++ b/JobConfig/recoMC/Extracted.fcl @@ -6,6 +6,8 @@ services.GeometryService.inputFile: "Offline/Mu2eG4/geom/geom_common_extracted.t # save the passive-material crossings found during extrapolation (CRV strongbacks) in the KalSeed intersections physics.producers.KKLine.KKFitSettings.SaveMaterialXings : true #include "Offline/CRVReco/fcl/epilog_extracted.fcl" +# extracted geometry: the Offline SigmaV list per CRV sector type (EX, T1, T2, muon taggers) +physics.producers.TrkCrvMatchLine.SigmaV : @local::TrkCrvMatcher.SigmaV # Disable KL filtering so track-less events are kept (needed for CRV # efficiency / tag-and-probe; matches OnSpill LHFilter disable). From 34d293eb34a29b9fbd3ae5130e2411823133fb46 Mon Sep 17 00:00:00 2001 From: Rob Mina Date: Tue, 10 Nov 2026 14:47:43 -0600 Subject: [PATCH 4/6] Address review comments. --- JobConfig/reco/prolog.fcl | 3 ++- JobConfig/recoMC/NoFieldRun1B.fcl | 4 +++- Validation/offSpill.fcl | 2 ++ Validation/reco.fcl | 2 ++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/JobConfig/reco/prolog.fcl b/JobConfig/reco/prolog.fcl index b2df5ded..cb6f8825 100644 --- a/JobConfig/reco/prolog.fcl +++ b/JobConfig/reco/prolog.fcl @@ -33,7 +33,8 @@ Reconstruction : { # track-CRV association, one instance per KalSeedCollection: after SelectReco, on its clusters (the layer probe # reads all CrvRecoPulses, which are still in the event); LoopHelix fits do not reach the CRV, so time only. # DtRefCenter: median dtRef of the track's own cluster per fit, from MC truth (KKLine: the Offline default, from - # extracted MDC2025bb; the others from MDC2025au CosmicSignalOffSpill CH and LH reco) + # extracted MDC2025bb; the others from MDC2025au CosmicSignalOffSpill CH and LH reco); the nightly off-spill input + # (MDC2025an, 20000 events) gives KKCHmu 24.6 ns (433 clusters), KKDe 33.2, KKUe 29.9, KKDmu 30.1, KKUmu 26.6 (~4500 each) # SigmaV for the Run1 geometries, whose T1 and T2 are both CRV sector type 1: provisional, the extracted T1 value TrkCrvMatchLine : { @table::TrkCrvMatcher KalSeedCollection : "KKLine" SigmaV : [ 13 ] } TrkCrvMatchCHmu : { @table::TrkCrvMatcher KalSeedCollection : "KKCHmu" DtRefCenter : 27 SigmaV : [ 13 ] } diff --git a/JobConfig/recoMC/NoFieldRun1B.fcl b/JobConfig/recoMC/NoFieldRun1B.fcl index 1caf55d3..790e78bb 100644 --- a/JobConfig/recoMC/NoFieldRun1B.fcl +++ b/JobConfig/recoMC/NoFieldRun1B.fcl @@ -124,10 +124,12 @@ physics.RecoPath: [ "CosmicLineFinder", "CosmicKKLine", "SelectReco", + "TrkCrvMatchLine", "CaloHitTruthMatch", "CaloClusterTruthMatch", "CrvCoincidenceClusterMatchMC", "compressRecoMCs", - "CrvCoincidenceClusterMCAssns" + "CrvCoincidenceClusterMCAssns", + "TrkCrvMatchLineMC" ] diff --git a/Validation/offSpill.fcl b/Validation/offSpill.fcl index e6ae8129..75406d00 100644 --- a/Validation/offSpill.fcl +++ b/Validation/offSpill.fcl @@ -30,6 +30,8 @@ outputs.CentralHelixOutput.outputCommands : [ "keep mu2e::TimeClusters_SimpleTimeCluster_*_*", "keep mu2e::CaloClusters_CaloClusterMaker_*_*", "keep mu2e::CrvCoincidenceClusters_*_*_*", + "keep mu2e::TrkCrvMatchs_*_*_*", + "keep mu2e::TrkCrvMatchMCs_*_*_*", "keep mu2e::EventWindowMarker_*_*_*", "keep mu2e::ProtonBunchTime_*_*_*", "keep *_SelectReco*_*_*", diff --git a/Validation/reco.fcl b/Validation/reco.fcl index e0995164..5abce8de 100644 --- a/Validation/reco.fcl +++ b/Validation/reco.fcl @@ -16,6 +16,8 @@ outputs.LoopHelixOutput.outputCommands: [ "keep mu2e::HelixSeeds_MH*_*_*", "keep mu2e::TimeClusters_MH*_*_*", "keep mu2e::CaloClusters_CaloClusterMaker_*_*", + "keep mu2e::TrkCrvMatchs_TrkCrvMatchDe_*_*", # the association of KKDe, the one fit this output keeps + "keep mu2e::TrkCrvMatchMCs_TrkCrvMatchDeMC_*_*", "keep mu2e::EventWindowMarker_*_*_*", "keep mu2e::ProtonBunchTime_*_*_*", "keep *_SelectReco*_*_*", From cb49c71afdcb80633f7461eec28ea51eccbb56f1 Mon Sep 17 00:00:00 2001 From: Rob Mina Date: Thu, 12 Nov 2026 08:50:53 -0600 Subject: [PATCH 5/6] Fix ProductNotFound for SelectReco:CrvCoincidenceClusterFinder --- JobConfig/reco/prolog.fcl | 14 ++++++++------ JobConfig/recoMC/prolog.fcl | 7 +++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/JobConfig/reco/prolog.fcl b/JobConfig/reco/prolog.fcl index cb6f8825..fa7878ed 100644 --- a/JobConfig/reco/prolog.fcl +++ b/JobConfig/reco/prolog.fcl @@ -14,6 +14,8 @@ #include "Offline/Filters/fcl/prolog.fcl" # BEGIN_PROLOG +# reco's SelectReco writes the CRV clusters with no instance name; recoMC/prolog.fcl sets the SelectRecoMC one +TrkCrvMatcherReco : { @table::TrkCrvMatcher CrvCoincidenceClusterCollection : "SelectReco" } Reconstruction : { # define the helix finders HelixFinders : [ "AgnosticHelixFinder", "CalHelixFinderDe" ] @@ -36,12 +38,12 @@ Reconstruction : { # extracted MDC2025bb; the others from MDC2025au CosmicSignalOffSpill CH and LH reco); the nightly off-spill input # (MDC2025an, 20000 events) gives KKCHmu 24.6 ns (433 clusters), KKDe 33.2, KKUe 29.9, KKDmu 30.1, KKUmu 26.6 (~4500 each) # SigmaV for the Run1 geometries, whose T1 and T2 are both CRV sector type 1: provisional, the extracted T1 value - TrkCrvMatchLine : { @table::TrkCrvMatcher KalSeedCollection : "KKLine" SigmaV : [ 13 ] } - TrkCrvMatchCHmu : { @table::TrkCrvMatcher KalSeedCollection : "KKCHmu" DtRefCenter : 27 SigmaV : [ 13 ] } - TrkCrvMatchDe : { @table::TrkCrvMatcher KalSeedCollection : "KKDe" DtRefCenter : 32 DoGeometric : false LayerProbe : false } - TrkCrvMatchUe : { @table::TrkCrvMatcher KalSeedCollection : "KKUe" DtRefCenter : 28 DoGeometric : false LayerProbe : false } - TrkCrvMatchDmu : { @table::TrkCrvMatcher KalSeedCollection : "KKDmu" DtRefCenter : 30 DoGeometric : false LayerProbe : false } - TrkCrvMatchUmu : { @table::TrkCrvMatcher KalSeedCollection : "KKUmu" DtRefCenter : 26 DoGeometric : false LayerProbe : false } + TrkCrvMatchLine : { @table::TrkCrvMatcherReco KalSeedCollection : "KKLine" SigmaV : [ 13 ] } + TrkCrvMatchCHmu : { @table::TrkCrvMatcherReco KalSeedCollection : "KKCHmu" DtRefCenter : 27 SigmaV : [ 13 ] } + TrkCrvMatchDe : { @table::TrkCrvMatcherReco KalSeedCollection : "KKDe" DtRefCenter : 32 DoGeometric : false LayerProbe : false } + TrkCrvMatchUe : { @table::TrkCrvMatcherReco KalSeedCollection : "KKUe" DtRefCenter : 28 DoGeometric : false LayerProbe : false } + TrkCrvMatchDmu : { @table::TrkCrvMatcherReco KalSeedCollection : "KKDmu" DtRefCenter : 30 DoGeometric : false LayerProbe : false } + TrkCrvMatchUmu : { @table::TrkCrvMatcherReco KalSeedCollection : "KKUmu" DtRefCenter : 26 DoGeometric : false LayerProbe : false } # choose the hit flagger flagPH : @local::CalPatRec.producers.DeltaFinder diff --git a/JobConfig/recoMC/prolog.fcl b/JobConfig/recoMC/prolog.fcl index 9a8bb1d8..5702f3a6 100644 --- a/JobConfig/recoMC/prolog.fcl +++ b/JobConfig/recoMC/prolog.fcl @@ -63,6 +63,13 @@ Reconstruction.producers : { crvStepsToKeep : [ ] } } +# SelectRecoMC writes the CRV clusters under the CrvCoincidenceClusterFinder instance +Reconstruction.producers.TrkCrvMatchLine.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" +Reconstruction.producers.TrkCrvMatchCHmu.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" +Reconstruction.producers.TrkCrvMatchDe.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" +Reconstruction.producers.TrkCrvMatchUe.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" +Reconstruction.producers.TrkCrvMatchDmu.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" +Reconstruction.producers.TrkCrvMatchUmu.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" # analyzers specific to MC Reconstruction.analyzers : { @table::Reconstruction.analyzers From 1660c8c0a944cc9ba40f21449a636b65942220bc Mon Sep 17 00:00:00 2001 From: Rob Mina Date: Fri, 20 Nov 2026 08:39:10 -0600 Subject: [PATCH 6/6] Drop LoopHelix TrkCrvMatch instances (agree with brownd1978) LoopHelix tracks do not intersect the CRV. Keep KKLine and KKCHmu matchers (and their MC makers) only; remove OnSpill TrkCrvMatch sequences and Validation/reco.fcl keeps for TrkCrvMatchDe. --- JobConfig/reco/prolog.fcl | 21 +++++++-------------- JobConfig/recoMC/prolog.fcl | 14 ++------------ Validation/reco.fcl | 2 -- 3 files changed, 9 insertions(+), 28 deletions(-) diff --git a/JobConfig/reco/prolog.fcl b/JobConfig/reco/prolog.fcl index fa7878ed..b476e541 100644 --- a/JobConfig/reco/prolog.fcl +++ b/JobConfig/reco/prolog.fcl @@ -32,18 +32,13 @@ Reconstruction : { @table::CrvRecoPackage.producers @table::CosmicReco.producers - # track-CRV association, one instance per KalSeedCollection: after SelectReco, on its clusters (the layer probe - # reads all CrvRecoPulses, which are still in the event); LoopHelix fits do not reach the CRV, so time only. - # DtRefCenter: median dtRef of the track's own cluster per fit, from MC truth (KKLine: the Offline default, from - # extracted MDC2025bb; the others from MDC2025au CosmicSignalOffSpill CH and LH reco); the nightly off-spill input - # (MDC2025an, 20000 events) gives KKCHmu 24.6 ns (433 clusters), KKDe 33.2, KKUe 29.9, KKDmu 30.1, KKUmu 26.6 (~4500 each) + # track-CRV association after SelectReco, on its clusters (the layer probe still sees all CrvRecoPulses). + # Only KKLine and KKCHmu: LoopHelix tracks do not intersect the CRV (brownd1978 on Production#595). + # DtRefCenter: median dtRef of the track's own cluster from MC truth (KKLine: Offline default from extracted + # MDC2025bb; KKCHmu 27 ns from MDC2025au CosmicSignalOffSpill CH reco). # SigmaV for the Run1 geometries, whose T1 and T2 are both CRV sector type 1: provisional, the extracted T1 value TrkCrvMatchLine : { @table::TrkCrvMatcherReco KalSeedCollection : "KKLine" SigmaV : [ 13 ] } TrkCrvMatchCHmu : { @table::TrkCrvMatcherReco KalSeedCollection : "KKCHmu" DtRefCenter : 27 SigmaV : [ 13 ] } - TrkCrvMatchDe : { @table::TrkCrvMatcherReco KalSeedCollection : "KKDe" DtRefCenter : 32 DoGeometric : false LayerProbe : false } - TrkCrvMatchUe : { @table::TrkCrvMatcherReco KalSeedCollection : "KKUe" DtRefCenter : 28 DoGeometric : false LayerProbe : false } - TrkCrvMatchDmu : { @table::TrkCrvMatcherReco KalSeedCollection : "KKDmu" DtRefCenter : 30 DoGeometric : false LayerProbe : false } - TrkCrvMatchUmu : { @table::TrkCrvMatcherReco KalSeedCollection : "KKUmu" DtRefCenter : 26 DoGeometric : false LayerProbe : false } # choose the hit flagger flagPH : @local::CalPatRec.producers.DeltaFinder @@ -309,10 +304,9 @@ Reconstruction : { CaloReco : [ @sequence::CaloReco.Reco, @sequence::CaloCluster.Reco ] # CRV reco CrvReco : [ @sequence::CrvRecoPackage.CrvRecoSequence ] - # track-CRV association, after SelectReco - TrkCrvMatchLH : [ TrkCrvMatchDe, TrkCrvMatchUe, TrkCrvMatchDmu, TrkCrvMatchUmu ] + # track-CRV association, after SelectReco (KKLine, KKCHmu only) TrkCrvMatchNoField : [ TrkCrvMatchLine ] - TrkCrvMatchOffSpill : [ TrkCrvMatchCHmu, TrkCrvMatchDe, TrkCrvMatchUe, TrkCrvMatchDmu, TrkCrvMatchUmu ] + TrkCrvMatchOffSpill : [ TrkCrvMatchCHmu ] # define products to keep # First, high-level reco products, and associated sub-products @@ -382,8 +376,7 @@ Reconstruction.OnSpillPath : [ @sequence::Reconstruction.PreTrk, @sequence::Reconstruction.OnSpillTrk, LHFilter, - SelectReco, - @sequence::Reconstruction.TrkCrvMatchLH + SelectReco ] Reconstruction.CentralHelixPath : [ diff --git a/JobConfig/recoMC/prolog.fcl b/JobConfig/recoMC/prolog.fcl index 5702f3a6..4f3a6448 100644 --- a/JobConfig/recoMC/prolog.fcl +++ b/JobConfig/recoMC/prolog.fcl @@ -15,10 +15,6 @@ Reconstruction.producers : { # truth of the track-CRV association, one per TrkCrvMatcher instance, after compression TrkCrvMatchLineMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchLine" } TrkCrvMatchCHmuMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchCHmu" } - TrkCrvMatchDeMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchDe" } - TrkCrvMatchUeMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchUe" } - TrkCrvMatchDmuMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchDmu" } - TrkCrvMatchUmuMC : { @table::TrkCrvMatchMC TrkCrvMatchCollection : "TrkCrvMatchUmu" } # MC specific output pruning SelectReco : { @@ -66,10 +62,6 @@ Reconstruction.producers : { # SelectRecoMC writes the CRV clusters under the CrvCoincidenceClusterFinder instance Reconstruction.producers.TrkCrvMatchLine.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" Reconstruction.producers.TrkCrvMatchCHmu.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" -Reconstruction.producers.TrkCrvMatchDe.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" -Reconstruction.producers.TrkCrvMatchUe.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" -Reconstruction.producers.TrkCrvMatchDmu.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" -Reconstruction.producers.TrkCrvMatchUmu.CrvCoincidenceClusterCollection : "SelectReco:CrvCoincidenceClusterFinder" # analyzers specific to MC Reconstruction.analyzers : { @table::Reconstruction.analyzers @@ -84,9 +76,8 @@ RecoMC : { # temporary build surface steps from StepPointMCs; this is a patch MCReco : [@sequence::CaloMC.TruthMatch, CrvCoincidenceClusterMatchMC, compressRecoMCs, CrvCoincidenceClusterMCAssns ] # track-CRV association truth, after MCReco (needs compressRecoMCs and CrvCoincidenceClusterMCAssns) - TrkCrvMatchMCLH : [ TrkCrvMatchDeMC, TrkCrvMatchUeMC, TrkCrvMatchDmuMC, TrkCrvMatchUmuMC ] TrkCrvMatchMCNoField : [ TrkCrvMatchLineMC ] - TrkCrvMatchMCOffSpill : [ TrkCrvMatchCHmuMC, TrkCrvMatchDeMC, TrkCrvMatchUeMC, TrkCrvMatchDmuMC, TrkCrvMatchUmuMC ] + TrkCrvMatchMCOffSpill : [ TrkCrvMatchCHmuMC ] # MC truth matched to reco HighRecoMCProducts : [ @@ -116,8 +107,7 @@ Reconstruction.NoFieldPath : [ Reconstruction.OnSpillPath : [ @sequence::Reconstruction.OnSpillPath, - @sequence::RecoMC.MCReco, - @sequence::RecoMC.TrkCrvMatchMCLH + @sequence::RecoMC.MCReco ] Reconstruction.CentralHelixPath : [ diff --git a/Validation/reco.fcl b/Validation/reco.fcl index 5abce8de..e0995164 100644 --- a/Validation/reco.fcl +++ b/Validation/reco.fcl @@ -16,8 +16,6 @@ outputs.LoopHelixOutput.outputCommands: [ "keep mu2e::HelixSeeds_MH*_*_*", "keep mu2e::TimeClusters_MH*_*_*", "keep mu2e::CaloClusters_CaloClusterMaker_*_*", - "keep mu2e::TrkCrvMatchs_TrkCrvMatchDe_*_*", # the association of KKDe, the one fit this output keeps - "keep mu2e::TrkCrvMatchMCs_TrkCrvMatchDeMC_*_*", "keep mu2e::EventWindowMarker_*_*_*", "keep mu2e::ProtonBunchTime_*_*_*", "keep *_SelectReco*_*_*",