Skip to content

Commit d5369b4

Browse files
committed
Merge branch 'release/v10_14_02_02'
2 parents 3fe86e7 + 1c45095 commit d5369b4

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
1717

1818
find_package(cetmodules 3.20.00 REQUIRED)
19-
project(sbncode VERSION 10.14.02.01 LANGUAGES CXX)
19+
project(sbncode VERSION 10.14.02.02 LANGUAGES CXX)
2020

2121
message(STATUS "\n\n ========================== ${PROJECT_NAME} ==========================")
2222

sbncode/EventGenerator/MeVPrtl/Tools/BNBKaonGen_tool.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ simb::MCFlux BNBKaonGen::MakeMCFlux(const bsim::BooNe &boone) {
311311
<< std::endl;
312312
}
313313

314-
flux.fFluxType = simb::kDk2Nu;
314+
flux.fFluxType = simb::kNtuple;
315315
flux.fnimpwt = fBooneNtp.beamwgt;
316316
flux.fvx = fBooneNtp.ini_pos[0][0]; //0
317317
flux.fvy = fBooneNtp.ini_pos[0][1]; //0

sbncode/SBNEventWeight/Calculators/BNBFlux/FluxCalcPrep.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ namespace sbn {
224224
}
225225

226226
//or do the above 3 lines in one line
227-
// auto const& mclist = *e.getValidHandle<std::vector<simb::MCTruth>>(fGeneratorModuleLabel);
227+
auto const& mclist = *e.getValidHandle<std::vector<simb::MCTruth>>(fGeneratorModuleLabel);
228228

229229
// If no neutrinos in this event, gives 0 weight;
230230
int NUni = fParameterSet.fNuniverses;
@@ -264,8 +264,8 @@ namespace sbn {
264264
}
265265

266266
// Collect neutrino energy; mclist is replaced with fluxlist.
267-
// double enu= mclist[inu].GetNeutrino().Nu().E();
268267
double enu= fluxlist[inu].fnenergyn;
268+
if ( enu == -1 ) enu= mclist[inu].GetNeutrino().Nu().E(); //For MeVPrtl generator, not all MCFlux result in a neutrino, so equivalent neutrino energy is computed and saved as MCTruth
269269

270270
//Let's make a weights based on the calculator you have requested
271271

ups/product_deps

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,10 @@ libdir fq_dir lib
252252
#
253253
####################################
254254
product version qual flags <table_format=2>
255-
genie_xsec v3_06_00 -
255+
genie_xsec v3_06_02_sbn2 -
256256
larcv2 v2_2_6 -
257257
larsoft v10_14_02_01 -
258-
sbnalg v10_14_02 -
258+
sbnalg v10_14_02_01 -
259259
sbndaq_artdaq_core v1_10_06 -
260260
sbndata v01_08 -
261261
systematicstools v01_04_04 -
@@ -317,10 +317,10 @@ end_product_list
317317
#
318318
####################################
319319
qualifier larsoft sbnalg sbndaq_artdaq_core genie_xsec sbndata larcv2 systematicstools nusystematics geant4reweight notes
320-
c14:debug c14:debug c14:debug c14:s131:debug AR2320i00000:e1000:k250 -nq- c14:debug:p3915 c14:debug c14:debug c14:debug:s131 -nq-
321-
c14:prof c14:prof c14:prof c14:s131:prof AR2320i00000:e1000:k250 -nq- c14:p3915:prof c14:prof c14:prof c14:prof:s131 -nq-
322-
e26:debug e26:debug e26:debug e26:s131:debug AR2320i00000:e1000:k250 -nq- debug:e26:p3915 e26:debug e26:debug e26:debug:s131 -nq-
323-
e26:prof e26:prof e26:prof e26:s131:prof AR2320i00000:e1000:k250 -nq- e26:p3915:prof e26:prof e26:prof e26:prof:s131 -nq-
320+
c14:debug c14:debug c14:debug c14:s131:debug AR2520i00000:e1000:k250 -nq- c14:debug:p3915 c14:debug c14:debug c14:debug:s131 -nq-
321+
c14:prof c14:prof c14:prof c14:s131:prof AR2520i00000:e1000:k250 -nq- c14:p3915:prof c14:prof c14:prof c14:prof:s131 -nq-
322+
e26:debug e26:debug e26:debug e26:s131:debug AR2520i00000:e1000:k250 -nq- debug:e26:p3915 e26:debug e26:debug e26:debug:s131 -nq-
323+
e26:prof e26:prof e26:prof e26:s131:prof AR2520i00000:e1000:k250 -nq- e26:p3915:prof e26:prof e26:prof e26:prof:s131 -nq-
324324
end_qualifier_list
325325
####################################
326326

0 commit comments

Comments
 (0)