From 91126562f60f1f1b0e798fdfc3b15516d9fb6570 Mon Sep 17 00:00:00 2001 From: kyjung Date: Mon, 20 Jul 2026 12:11:42 -0500 Subject: [PATCH 1/2] Add elastic dials for all g4reweight particles --- .../jobs/geant4/kminus_reweight_parameters.fcl | 10 +++++++++- .../jobs/geant4/kplus_reweight_parameters.fcl | 11 ++++++++++- .../jobs/geant4/neutron_reweight_parameters.fcl | 10 +++++++++- .../jobs/geant4/piminus_reweight_parameters.fcl | 12 ++++++++++-- .../jobs/geant4/piplus_reweight_parameters.fcl | 10 +++++++++- .../jobs/geant4/proton_reweight_parameters.fcl | 11 ++++++++++- 6 files changed, 57 insertions(+), 7 deletions(-) diff --git a/sbncode/SBNEventWeight/jobs/geant4/kminus_reweight_parameters.fcl b/sbncode/SBNEventWeight/jobs/geant4/kminus_reweight_parameters.fcl index ac330892e..7b5e08205 100644 --- a/sbncode/SBNEventWeight/jobs/geant4/kminus_reweight_parameters.fcl +++ b/sbncode/SBNEventWeight/jobs/geant4/kminus_reweight_parameters.fcl @@ -1,6 +1,6 @@ BEGIN_PROLOG -## KMinus available process keys: "total" +## KMinus available process keys: "total inelastic", "elastic" KMinusParameters: [ { @@ -9,6 +9,14 @@ KMinusParameters: [ Range: [10.0, 2005.0] Nominal: 1.0 Sigma: 0.2 + }, + + { + Name: "fKMinusElast" + Cut: "elast" + Range: [10.0, 2005.00] + Nominal: 1.0 + Sigma: 0.2 } ] diff --git a/sbncode/SBNEventWeight/jobs/geant4/kplus_reweight_parameters.fcl b/sbncode/SBNEventWeight/jobs/geant4/kplus_reweight_parameters.fcl index 08ec5e9f2..eb97b3b60 100644 --- a/sbncode/SBNEventWeight/jobs/geant4/kplus_reweight_parameters.fcl +++ b/sbncode/SBNEventWeight/jobs/geant4/kplus_reweight_parameters.fcl @@ -1,6 +1,6 @@ BEGIN_PROLOG -## KPlus available process keys: "total" +## KPlus available process keys: "total inelastic", "elastic" KPlusParameters: [ { @@ -9,7 +9,16 @@ KPlusParameters: [ Range: [10.0, 2005.0] Nominal: 1.0 Sigma: 0.2 + }, + + { + Name: "fKPlusElast" + Cut: "elast" + Range: [10.0, 2005.00] + Nominal: 1.0 + Sigma: 0.2 } + ] END_PROLOG diff --git a/sbncode/SBNEventWeight/jobs/geant4/neutron_reweight_parameters.fcl b/sbncode/SBNEventWeight/jobs/geant4/neutron_reweight_parameters.fcl index 65743db98..77a19d54a 100644 --- a/sbncode/SBNEventWeight/jobs/geant4/neutron_reweight_parameters.fcl +++ b/sbncode/SBNEventWeight/jobs/geant4/neutron_reweight_parameters.fcl @@ -1,6 +1,6 @@ BEGIN_PROLOG -## Neutron available process keys: "total" +## Neutron available process keys: "total inelastic", "elastic" NeutronParameters: [ { @@ -9,6 +9,14 @@ NeutronParameters: [ Range: [100.0, 2005.0] Nominal: 1.0 Sigma: 0.2 + }, + + { + Name: "fNeutronElast" + Cut: "elast" + Range: [100.0, 2005.00] + Nominal: 1.0 + Sigma: 0.2 } ] diff --git a/sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl b/sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl index fb27aeed4..08e1457e2 100644 --- a/sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl +++ b/sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl @@ -1,6 +1,6 @@ BEGIN_PROLOG -## PiMinus available process keys: "abs", "cex", "prod", "dcex", "inel" +## PiMinus available process keys: "abs", "cex", "prod", "dcex", "inel", "elastic" PiMinusParameters: [ { @@ -48,8 +48,16 @@ PiMinusParameters: [ Range: [10.0, 2005.00] Nominal: 1.0 Sigma: 0.2 + }, + + { + Name: "fPiMinusElast" + Cut: "elast" + Range: [10.0, 2005.00] + Nominal: 1.0 + Sigma: 0.2 } - + ] END_PROLOG diff --git a/sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl b/sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl index 4aeaeb96d..f4d2f431f 100644 --- a/sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl +++ b/sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl @@ -1,6 +1,6 @@ BEGIN_PROLOG -## PiPlus available process keys: "abs", "cex", "prod", "dcex", "inel" +## PiPlus available process keys: "abs", "cex", "prod", "dcex", "inel", "elastic" PiPlusParameters: [ { @@ -48,6 +48,14 @@ PiPlusParameters: [ Range: [10.0, 2005.00] Nominal: 1.0 Sigma: 0.2 + }, + + { + Name: "fPiPlusElast" + Cut: "elast" + Range: [10.0, 2005.00] + Nominal: 1.0 + Sigma: 0.2 } ] diff --git a/sbncode/SBNEventWeight/jobs/geant4/proton_reweight_parameters.fcl b/sbncode/SBNEventWeight/jobs/geant4/proton_reweight_parameters.fcl index 3dd017d93..047a9efe4 100644 --- a/sbncode/SBNEventWeight/jobs/geant4/proton_reweight_parameters.fcl +++ b/sbncode/SBNEventWeight/jobs/geant4/proton_reweight_parameters.fcl @@ -1,6 +1,6 @@ BEGIN_PROLOG -## Proton available process keys: "total" +## Proton available process keys: "total", "elastic" ProtonParameters: [ { @@ -9,7 +9,16 @@ ProtonParameters: [ Range: [10.0, 2005.0] Nominal: 1.0 Sigma: 0.2 + }, + + { + Name: "fProtonElast" + Cut: "elast" + Range: [10.0, 2005.00] + Nominal: 1.0 + Sigma: 0.2 } + ] END_PROLOG From fca58629bdb13a0da7fca10b81c8df3c142ba880 Mon Sep 17 00:00:00 2001 From: kyjung Date: Wed, 22 Jul 2026 09:45:16 -0500 Subject: [PATCH 2/2] Use a single pion inelastic reweighting parameter across the full energy range --- .../jobs/geant4/piminus_reweight_parameters.fcl | 11 ++--------- .../jobs/geant4/piplus_reweight_parameters.fcl | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl b/sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl index 08e1457e2..af9532455 100644 --- a/sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl +++ b/sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl @@ -4,19 +4,12 @@ BEGIN_PROLOG PiMinusParameters: [ { - Name: "fPiMinusInelLow" + Name: "fPiMinusIne" Cut: "inel" - Range: [10., 200.] + Range: [10., 2005.] Nominal: 1 Sigma: 0.2 } , - { - Name: "fPiMinusInelHigh" - Cut: "inel" - Range: [700., 2005.] - Nominal: 1.0 - Sigma: 0.2 - } , { Name: "fPiMinusAbs" diff --git a/sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl b/sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl index f4d2f431f..0637f467e 100644 --- a/sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl +++ b/sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl @@ -4,16 +4,9 @@ BEGIN_PROLOG PiPlusParameters: [ { - Name: "fPiPlusInelLow" + Name: "fPiPlusIne" Cut: "inel" - Range: [10., 200.] - Nominal: 1.0 - Sigma: 0.2 - } , - { - Name: "fPiPlusInelHigh" - Cut: "inel" - Range: [700., 2005.] + Range: [10., 2005.] Nominal: 1.0 Sigma: 0.2 } ,