We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87ed2cf commit 2f2282bCopy full SHA for 2f2282b
1 file changed
src/InfoMCStructHelper.cc
@@ -409,6 +409,9 @@ namespace mu2e {
409
mcsi.dp = mcstep.postMomentum().mag()- mcstep.momentum().mag();
410
mcsi.mom = mcstep.momentum();
411
mcsi.pos = spos;
412
+ mcsi.pdg = mcstep.simParticle()->pdgId();
413
+ mcsi.startCode = mcstep.simParticle()->creationCode();
414
+ mcsi.stopCode = mcstep.simParticle()->stoppingCode();
415
}
416
417
@@ -438,7 +441,6 @@ namespace mu2e {
438
441
GeomHandle<DetectorSystem> det;
439
442
MCStepInfo mcstepinfo;
440
443
for(auto const& mcstep : mcsteps) {
- std::cout << mcstep << std::endl;
444
mcstepinfo.reset();
445
mcstepinfo.vid = mcstep.volumeId();
446
mcstepinfo.time = mcstep.time();
0 commit comments