From 93ffcf7736d34e6ddd6fa544a05648d2f70381c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1nchez=20Castillo?= Date: Sun, 13 Apr 2025 12:00:03 -0500 Subject: [PATCH] Add tpcpdbarycentermatching to standard workflow --- .../JobConfigurations/base/cafmakerjob_sbnd_data_base.fcl | 2 +- sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd.fcl | 3 +++ .../JobConfigurations/standard/reco/config/workflow_reco2.fcl | 4 ++++ sbndcode/JobConfigurations/standard/reco/reco2_data.fcl | 3 ++- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sbndcode/JobConfigurations/base/cafmakerjob_sbnd_data_base.fcl b/sbndcode/JobConfigurations/base/cafmakerjob_sbnd_data_base.fcl index 8f057091d..64eb4bd97 100644 --- a/sbndcode/JobConfigurations/base/cafmakerjob_sbnd_data_base.fcl +++ b/sbndcode/JobConfigurations/base/cafmakerjob_sbnd_data_base.fcl @@ -151,7 +151,7 @@ physics.producers.cafmaker.TrackCaloLabel: "pandoraCaloData" physics.producers.cafmaker.TrackChi2PidLabel: "pandoraPidData" # Include 3D barycenter flahs matching -physics.producers.cafmaker.TPCPMTBarycenterMatchLabel: "tpcpmtbarycentermatch" +physics.producers.cafmaker.TPCPMTBarycenterMatchLabel: "tpcpmtbarycentermatching" # Blinding not needed for MC physics.producers.cafmaker.CreateBlindedCAF: false diff --git a/sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd.fcl b/sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd.fcl index b404e9db0..c82e502e5 100644 --- a/sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd.fcl +++ b/sbndcode/JobConfigurations/standard/caf/cafmakerjob_sbnd.fcl @@ -147,6 +147,9 @@ physics.producers.cafmaker.SaveGENIEEventRecord: true physics.producers.cafmaker.FlashMatchOpDetSuffixes: ["", "op", "ara", "opara"] physics.producers.cafmaker.FlashMatchSCECryoSuffixes: [""] +# Include 3D barycenter flahs matching +physics.producers.cafmaker.TPCPMTBarycenterMatchLabel: "tpcpmtbarycentermatching" + # Overwrite weight_functions label: physics.producers.fluxweight.weight_functions: @local::physics.producers.fluxweight.weight_functions_flux diff --git a/sbndcode/JobConfigurations/standard/reco/config/workflow_reco2.fcl b/sbndcode/JobConfigurations/standard/reco/config/workflow_reco2.fcl index 4ec57bc99..bf10f5c04 100644 --- a/sbndcode/JobConfigurations/standard/reco/config/workflow_reco2.fcl +++ b/sbndcode/JobConfigurations/standard/reco/config/workflow_reco2.fcl @@ -11,6 +11,8 @@ #include "opt0finder_sbnd.fcl" +#include "sbnd_tpcpmt3dbarycentermatching_config.fcl" + #include "sbnd_trackcalo_skimmer.fcl" #include "crtana_sbnd.fcl" #include "pmtskim_sbnd.fcl" @@ -60,6 +62,7 @@ sbnd_reco2_producers:{ fmatchoparaSCE: @local::sbnd_simple_flashmatch_opara_sce opt0finder: @local::sbnd_opt0_finder_one_to_many opt0finderSCE: @local::sbnd_opt0_finder_one_to_many + tpcpmtbarycentermatching: @local::TPCPMTBarycenterMatchProducer ### Uncalibrated calorimetry producer for calibration caloskimmer caloskimCalorimetry: @local::caloskim_calorimetry @@ -85,6 +88,7 @@ sbnd_reco2_producer_sequence: [ , fmatchopara , caloskimCalorimetry , opt0finder + , tpcpmtbarycentermatching , pandoraSCE , pandoraSCETrack , pandoraSCEShower diff --git a/sbndcode/JobConfigurations/standard/reco/reco2_data.fcl b/sbndcode/JobConfigurations/standard/reco/reco2_data.fcl index b8e1098a5..c55ffe693 100644 --- a/sbndcode/JobConfigurations/standard/reco/reco2_data.fcl +++ b/sbndcode/JobConfigurations/standard/reco/reco2_data.fcl @@ -16,10 +16,11 @@ physics.producers: { @table::physics.producers opt0finder: @local::sbnd_opt0_finder_data + tpcpmtbarycentermatching: @local::TPCPMTBarycenterMatchProducer } physics.reco2: [ pandora, pandoraTrack, pandoraShower, pandoraShowerSBN, pandoraCaloData, pandoraPidData, caloskimCalorimetry, - cvn, opt0finder] + cvn, opt0finder, tpcpmtbarycentermatching] #The next 3 lines need to be commented out once data use pandoraSCE by default. physics.producers.cvn.SliceLabel: "pandora"