Skip to content

Commit c486b29

Browse files
committed
clean up configurations to only keep cases that have implementations in geant4reweight
1 parent e506332 commit c486b29

7 files changed

Lines changed: 39 additions & 98 deletions

sbncode/SBNEventWeight/jobs/geant4/eventweight_geant4_sbn.fcl

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ sbn_eventweight_geant4: {
6161
material: @local::LAr
6262
random_seed: 60
6363
parameters: @local::ProtonParameters
64-
mode: multisigma
65-
number_of_sigmas: 3
66-
#mode: multisim
67-
#number_of_multisims: 1000
68-
fracsfile: "$SBNDATA_DIR/systematics/reint/g4_fracs_proton.root"
64+
#mode: multisigma
65+
#number_of_sigmas: 3
66+
mode: multisim
67+
number_of_multisims: 1000
68+
fracsfile: "$SBNDATA_DIR/systematics/reint/g4_fracs_proton.root" # dummy file, cross section pulled directly from Geant4
6969
makeoutputtree: true
7070
pdg_to_reweight: 2212
7171
debug: true
@@ -74,13 +74,13 @@ sbn_eventweight_geant4: {
7474
reinteractions_neutron: {
7575
type: Geant4
7676
material: @local::LAr
77-
random_seed: 60
77+
random_seed: 61
7878
parameters: @local::NeutronParameters
79-
mode: multisigma
80-
number_of_sigmas: 3
81-
#mode: multisim
82-
#number_of_multisims: 1000
83-
fracsfile: "$SBNDATA_DIR/systematics/reint/g4_fracs_proton.root"
79+
#mode: multisigma
80+
#number_of_sigmas: 3
81+
mode: multisim
82+
number_of_multisims: 1000
83+
fracsfile: "$SBNDATA_DIR/systematics/reint/g4_fracs_proton.root" # dummy file, cross section pulled directly from Geant4
8484
makeoutputtree: true
8585
pdg_to_reweight: 2112
8686
debug: true
@@ -89,12 +89,12 @@ sbn_eventweight_geant4: {
8989
reinteractions_kplus: {
9090
type: Geant4
9191
material: @local::LAr
92-
random_seed: 60
92+
random_seed: 62
9393
parameters: @local::KPlusParameters
9494
#mode: pm1sigma
9595
mode: multisim
9696
number_of_multisims: 1000
97-
fracsfile: "$SBNDATA_DIR/systematics/reint/g4_fracs_proton.root"
97+
fracsfile: "$SBNDATA_DIR/systematics/reint/g4_fracs_proton.root" # dummy file, cross section pulled directly from Geant4
9898
makeoutputtree: true
9999
pdg_to_reweight: 321
100100
debug: true
@@ -103,21 +103,19 @@ sbn_eventweight_geant4: {
103103
reinteractions_kminus: {
104104
type: Geant4
105105
material: @local::LAr
106-
random_seed: 60
106+
random_seed: 63
107107
parameters: @local::KMinusParameters
108108
#mode: pm1sigma
109109
mode: multisim
110110
number_of_multisims: 1000
111-
fracsfile: "$SBNDATA_DIR/systematics/reint/g4_fracs_proton.root"
111+
fracsfile: "$SBNDATA_DIR/systematics/reint/g4_fracs_proton.root" # dummy file, cross section pulled directly from Geant4
112112
makeoutputtree: true
113113
pdg_to_reweight: -321
114114
debug: true
115115
}
116116

117117
}
118118

119-
# reinteractions_neutron
120-
121119
###
122120
# Reweighting parameters should be defined as
123121
#
@@ -139,15 +137,15 @@ sbn_eventweight_geant4: {
139137
# "nominal" value in that case, just the set value)
140138
# - Sigma defines the 1-sigma range for multisims and unisims. Currently the
141139
# code can only accept a single value for sigma, giving symmetric
142-
# uncertainty bounds: nominal-sigma and nominal+sigma
140+
# uncertainty bounds: nominal-sigma and nominal+sigma
141+
# [Only in use for fitting purposes, instead range defined through input files - Jul 2025]
143142
# - Cut must be one of the following:
144-
# "reac" <- total inelastic scattering cross section
143+
# "total" <- total scattering cross section, pulled from Geant4
145144
# "abs" <- absorption cross section (pi+ and pi- only at the moment -- Oct 2019)
146145
# "cex" <- charge exchange cross section (pi+ and pi- only at the moment -- Oct 2019)
147146
# "dcex" <- double charge exchange cross section (pi+ and pi- only at the moment -- Oct 2019)
148147
# "prod" <- pion production cross section (pi+ and pi- only at the moment -- Oct 2019)
149148
# "inel" <- quasi-elastic inelastic scattering cross section (pi+ and pi- only at the moment -- Oct 2019)
150-
# "elast" <- total elastic scattering cross section
151149
# - Name can be anything you like (but should uniquely identify that parameter/
152150
# variation)
153151
###

sbncode/SBNEventWeight/jobs/geant4/kminus_reweight_parameters.fcl

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
BEGIN_PROLOG
22

3-
KMinusParameters: [
4-
{
5-
Name: "fKMinusReac"
6-
Cut: "reac"
7-
Range: [10., 2005.]
8-
Nominal: 1
9-
Sigma: 0.2
10-
},
3+
## KMinus available process keys: "total"
114

5+
KMinusParameters: [
126
{
13-
Name: "fKMinusElast"
14-
Cut: "elast"
15-
Range: [10.0, 2005.00]
7+
Name: "fKMinusTotal"
8+
Cut: "total"
9+
Range: [10.0, 2005.0]
1610
Nominal: 1.0
1711
Sigma: 0.2
1812
}

sbncode/SBNEventWeight/jobs/geant4/kplus_reweight_parameters.fcl

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
BEGIN_PROLOG
22

3-
KPlusParameters: [
4-
{
5-
Name: "fKPlusReac"
6-
Cut: "reac"
7-
Range: [10., 2005.]
8-
Nominal: 1
9-
Sigma: 0.2
10-
},
3+
## KPlus available process keys: "total"
114

5+
KPlusParameters: [
126
{
13-
Name: "fKPlusElast"
14-
Cut: "elast"
15-
Range: [10.0, 2005.00]
7+
Name: "fKPlusTotal"
8+
Cut: "total"
9+
Range: [10.0, 2005.0]
1610
Nominal: 1.0
1711
Sigma: 0.2
1812
}
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,15 @@
11
BEGIN_PROLOG
22

3-
NeutronParameters: [
4-
{
5-
Name: "fNeutronReac"
6-
Cut: "reac"
7-
Range: [10., 2005.]
8-
Nominal: 1
9-
Sigma: 0.2
10-
},
11-
12-
{
13-
Name: "fNeutronElast"
14-
Cut: "elast"
15-
Range: [10.0, 2005.00]
16-
Nominal: 1.0
17-
Sigma: 0.2
18-
},
3+
## Neutron available process keys: "total"
194

5+
NeutronParameters: [
206
{
217
Name: "fNeutronTotal"
228
Cut: "total"
23-
Range: [10.0, 2005.00]
9+
Range: [10.0, 2005.0]
2410
Nominal: 1.0
2511
Sigma: 0.2
2612
}
27-
2813
]
2914

3015
END_PROLOG

sbncode/SBNEventWeight/jobs/geant4/piminus_reweight_parameters.fcl

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BEGIN_PROLOG
22

3-
# From MicroBooNE, ubsim UBOONE_SUITE_v08_00_00_69
3+
## PiMinus available process keys: "abs", "cex", "prod", "dcex", "inel"
44

55
PiMinusParameters: [
66
{
@@ -52,15 +52,8 @@ PiMinusParameters: [
5252
Range: [10.0, 2005.00]
5353
Nominal: 1.0
5454
Sigma: 0.2
55-
},
56-
57-
{
58-
Name: "fPiMinusElast"
59-
Cut: "elast"
60-
Range: [10.0, 2005.00]
61-
Nominal: 1.0
62-
Sigma: 0.2
6355
}
56+
6457
]
6558

6659
END_PROLOG

sbncode/SBNEventWeight/jobs/geant4/piplus_reweight_parameters.fcl

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
BEGIN_PROLOG
22

3-
# From MicroBooNE, ubsim UBOONE_SUITE_v08_00_00_69
3+
## PiPlus available process keys: "abs", "cex", "prod", "dcex", "inel"
44

55
PiPlusParameters: [
66
{
77
Name: "fPiPlusReacLow"
88
Cut: "reac"
99
Range: [10., 200.]
10-
Nominal: 1
10+
Nominal: 1.0
1111
Sigma: 0.2
1212
} ,
1313
{
@@ -52,15 +52,8 @@ PiPlusParameters: [
5252
Range: [10.0, 2005.00]
5353
Nominal: 1.0
5454
Sigma: 0.2
55-
},
56-
57-
{
58-
Name: "fPiPlusElast"
59-
Cut: "elast"
60-
Range: [10.0, 2005.00]
61-
Nominal: 1.0
62-
Sigma: 0.2
6355
}
56+
6457
]
6558

6659
END_PROLOG

sbncode/SBNEventWeight/jobs/geant4/proton_reweight_parameters.fcl

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,13 @@
11
BEGIN_PROLOG
22

3-
# From MicroBooNE, ubsim UBOONE_SUITE_v08_00_00_69
3+
## Proton available process keys: "total"
44

55
ProtonParameters: [
6-
{
7-
Name: "fProtonReac"
8-
Cut: "reac"
9-
Range: [10., 2005.]
10-
Nominal: 1
11-
Sigma: 0.2
12-
},
13-
14-
{
15-
Name: "fProtonElast"
16-
Cut: "elast"
17-
Range: [10.0, 2005.00]
18-
Nominal: 1.0
19-
Sigma: 0.2
20-
},
21-
226
{
237
Name: "fProtonTotal"
248
Cut: "total"
25-
Range: [10., 2005.]
26-
Nominal: 1
9+
Range: [10.0, 2005.0]
10+
Nominal: 1.0
2711
Sigma: 0.2
2812
}
2913
]

0 commit comments

Comments
 (0)