All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eventweight_flux_sbn.fcl
Go to the documentation of this file.
1 ##########################################################
2 ## Beam-related reweighting
3 ##
4 ## References:
5 ##
6 ## * MicroBooNE DocDB 7866 (J. Zennamo)
7 ## * MicroBooNE DocDB 8058 (J. Zennamo)
8 ##
9 ## Maintainer: J. Zennamo (jaz8600@fnal.gov)
10 ##
11 ## updated Nov. 2021 by Keng Lin (keng.lin@rutgers.edu
12  ##########################################################
13 BEGIN_PROLOG
14 
15 # Choose the desired uiverses number for multisim mode
16 n_universes: 1000
17 
18 sbn_eventweight_flux: {
19 
20  module_type: "SBNEventWeight"
22  AllowMissingTruth: true # allow running over cosmics. The alternative approach is generator_module_label: ""
23 
24  weight_functions_flux: [
28  kplus, kminus, kzero,
30  ]
31 
32  horncurrent: {
33  type: Flux #no need parameter_sigma, because variations are prepared separatedly
34  random_seed: 7
35  mode: multisim
36  number_of_multisims: @local::n_universes
37  parameter_list: ["horncurrent"]
38  #parameter_sigma: [1]
39 
40  calc_type: "Unisim"
41  scale_factor_pos: 1
42  scale_factor_neg: 1
43  CentralValue_hist_file: "beamData/BNBdata/UnisimHists/may06_10kpot_ntrd1000_flux.root"
44  PositiveSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_horn175ka_rgen610.6_flux.root"
45  NegativeSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_horn173ka_rgen610.6_flux.root"
46  }
47 
48  expskin: {
49  type: Flux
50  random_seed: 14
51  mode: multisim
52  number_of_multisims: @local::n_universes
53  parameter_list: ["expskin"]
54 
55  calc_type: "Unisim"
56  scale_factor_pos: 1
57  scale_factor_neg: 1
58  CentralValue_hist_file: "beamData/BNBdata/UnisimHists/may06_10kpot_ntrd1000_flux.root"
59  PositiveSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/expskin_nrtd1000_flux.root"
60  NegativeSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/expskin_nrtd1000_flux.root"
61  }
62 
63  pioninexsec: {
64  type: Flux
65  random_seed: 8
66  mode: multisim
67  number_of_multisims: @local::n_universes
68  parameter_list: ["pioninexsec"]
69 
70  calc_type: "Unisim"
71  scale_factor_pos: 1
72  scale_factor_neg: 1
73  CentralValue_hist_file: "beamData/BNBdata/UnisimHists/may06_10kpot_ntrd1000_flux.root"
74  PositiveSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_pioninexsec_up_rgen610.6_flux.root"
75  NegativeSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_pioninexsec_down_rgen610.6_flux.root"
76  }
77 
78  pionqexsec: {
79  type: Flux
80  random_seed: 12
81  mode: multisim
82  number_of_multisims: @local::n_universes
83  parameter_list: ["pionqexsec"]
84 
85  calc_type: "Unisim"
86  scale_factor_pos: 0.292 #From MiniBooNE
87  scale_factor_neg: 0.585 #From MiniBooNE
88  CentralValue_hist_file: "beamData/BNBdata/UnisimHists/may06_10kpot_ntrd1000_flux.root"
89  PositiveSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_pionqexsec_up_rgen610.6_flux.root"
90  NegativeSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_pionqexsec_down_rgen610.6_flux.root"
91  }
92 
93  piontotxsec: {
94  type: Flux
95  random_seed: 13
96  mode: multisim
97  number_of_multisims: @local::n_universes
98  parameter_list: ["piontotxsec"]
99 
100  calc_type: "Unisim"
101  scale_factor_pos: 1
102  scale_factor_neg: 1
103  CentralValue_hist_file: "beamData/BNBdata/UnisimHists/may06_10kpot_ntrd1000_flux.root"
104  PositiveSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_piontotxsec_up_rgen610.6_flux.root"
105  NegativeSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_piontotxsec_down_rgen610.6_flux.root"
106  }
107 
108 
109 
110  nucleoninexsec: {
111  type: Flux
112  random_seed: 11
113  mode: multisim
114  number_of_multisims: @local::n_universes
115  parameter_list: ["nucleoninexsec"]
116 
117  calc_type: "Unisim"
118  scale_factor_pos: 1
119  scale_factor_neg: 1
120  CentralValue_hist_file: "beamData/BNBdata/UnisimHists/may06_10kpot_ntrd1000_flux.root"
121  PositiveSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_nucleoninexsec_up_rgen610.6_flux.root"
122  NegativeSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_nucleoninexsec_down_rgen610.6_flux.root"
123  }
124 
125  nucleonqexsec: {
126  type: Flux
127  random_seed: 10
128  mode: multisim
129  number_of_multisims: @local::n_universes
130  parameter_list: ["nucleonqexsec"]
131 
132  calc_type: "Unisim"
133  scale_factor_pos: 0.333 #From MiniBooNE
134  scale_factor_neg: 0.573 #From MiniBooNE
135  CentralValue_hist_file: "beamData/BNBdata/UnisimHists/may06_10kpot_ntrd1000_flux.root"
136  PositiveSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_nucleonqexsec_up_rgen610.6_flux.root"
137  NegativeSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_nucleonqexsec_down_rgen610.6_flux.root"
138  }
139 
140  nucleontotxsec: {
141  type: Flux
142  random_seed: 9
143  mode: multisim
144  number_of_multisims: @local::n_universes
145  parameter_list: ["nucleontotxsec"]
146 
147  calc_type: "Unisim"
148  scale_factor_pos: 1
149  scale_factor_neg: 1
150  CentralValue_hist_file: "beamData/BNBdata/UnisimHists/may06_10kpot_ntrd1000_flux.root"
151  PositiveSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_nucleontotxsec_up_rgen610.6_flux.root"
152  NegativeSystematicVariation_hist_file: "beamData/BNBdata/UnisimHists/may06_nucleontotxsec_down_rgen610.6_flux.root"
153  }
154 
155 
156  kplus: {
157  type: Flux
158  random_seed: 4
159  mode: multisim
160  number_of_multisims: @local::n_universes
161  parameter_list: ["kplus"]
162  parameter_sigma: [1]
163 
164  calc_type: "PrimaryHadronFeynmanScaling"
165  PrimaryHadronGeantCode: [321] # geant code for particle production on Be
166  scale_factor_pos: 1
167  ExternalData: "beamData/BNBdata/ExternalData/BNBExternalData_uBooNE.root"
168  #ExternalFit: "empty"
169  }
170 
171  kminus: {
172  type: Flux
173  random_seed: 6
174  mode: multisim
175  number_of_multisims: @local::n_universes
176  parameter_list: ["kminus"]
177  parameter_sigma: [1]
178 
179  calc_type: "PrimaryHadronNormalization"
180  PrimaryHadronGeantCode: [-321] # geant code for particle production on Be
181  scale_factor_pos: 1
182  }
183 
184  kzero: {
185  type: Flux
186  random_seed: 5
187  mode: multisim
188  number_of_multisims: @local::n_universes
189  parameter_list: ["kzero"]
190  parameter_sigma: [1]
191 
192  calc_type: "PrimaryHadronSanfordWang"
193  PrimaryHadronGeantCode: [130, 310, 311] # geant code for particle production on Be
194  scale_factor_pos: 1
195  ExternalData: "beamData/BNBdata/ExternalData/BNBExternalData_uBooNE.root"
196  }
197 
198 
199  piplus: {
200  type: Flux
201  random_seed: 2
202  mode: multisim
203  number_of_multisims: @local::n_universes
204  parameter_list: ["piplus"]
205  parameter_sigma: [1]
206 
207  calc_type: "PrimaryHadronSWCentralSplineVariation"
208  PrimaryHadronGeantCode: [211] # geant code for particle production on Be
209  scale_factor_pos: 1
210  ExternalData: "beamData/BNBdata/ExternalData/BNBExternalData_uBooNE_SplinesHARP.root"
211  ExternalFit: "beamData/BNBdata/ExternalData/BNBExternalData_uBooNE.root"
212  }
213 
214  piminus: {
215  type: Flux
216  random_seed: 3
217  mode: multisim
218  number_of_multisims: @local::n_universes
219  parameter_list: ["piminus"]
220  parameter_sigma: [1]
221 
222  calc_type: "PrimaryHadronSWCentralSplineVariation"
223  PrimaryHadronGeantCode: [-211] # geant code for particle production on Be
224  scale_factor_pos: 1
225  ExternalData: "beamData/BNBdata/ExternalData/BNBExternalData_uBooNE_SplinesHARP.root"
226  ExternalFit: "beamData/BNBdata/ExternalData/BNBExternalData_uBooNE.root"
227  }
228 }
229 
230 
231 END_PROLOG
process_name eventweight nucleonqexsec
physics producers fluxweight physics producers fluxweight piplus
process_name eventweight piminus
BEGIN_PROLOG cv_example MaCCRES MaNCRES parameter_sigma
esac done echo Signal files are
Definition: TrainMVA.sh:25
process_name eventweight horncurrent
process_name eventweight nucleoninexsec
process_name eventweight kplus
process_name eventweight nucleontotxsec
process_name eventweight pioninexsec
process_name eventweight pionqexsec
BEGIN_PROLOG n_universes
const char mode
Definition: noise_ana.cxx:20
physics producers fluxweight physics producers fluxweight expskin
process_name eventweight kzero
BEGIN_PROLOG FrPiProd_pi_multisigma multisim
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
BEGIN_PROLOG piminus because variations are prepared separatedly random_seed
physics producers fluxweight physics producers fluxweight generator_module_label
process_name eventweight kminus
process_name eventweight piontotxsec