Skip to content

Commit c0ca4a5

Browse files
Merge remote-tracking branch 'remotes/origin/feature/jskim_SaveNonPrimInCAFsForG4Study_v09_72_00_06' into feature/howard_forNuMI2023A_from_gputnam-configs
2 parents 6b24a02 + fd58a14 commit c0ca4a5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sbncode/CAFMaker/FillTrue.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,9 @@ namespace caf {
470470
for(const caf::SRTrueParticle& part: srparticles){
471471
// save the G4 particles that came from this interaction
472472
if(part.interaction_id == (int)i) {
473-
if(part.start_process == caf::kG4primary) srneutrino.prim.push_back(part);
473+
//if(part.start_process == caf::kG4primary) srneutrino.prim.push_back(part);
474+
// Feb. 15th 2024, Jaesung Kim: Saving non-primaries for G4Reweight study
475+
srneutrino.prim.push_back(part);
474476

475477
// total up the deposited energy
476478
for(int p = 0; p < 3; ++p) {

0 commit comments

Comments
 (0)