Skip to content

Commit 4ce046e

Browse files
committed
A2FileGenerator: removed debug code
1 parent 5e28d13 commit 4ce046e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/A2FileGenerator.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ void A2FileGenerator::A2GenParticle_t::SetCorrectMass(G4bool usePDG)
3131
// set mass
3232
fM = fDef->GetPDGMass();
3333

34+
//printf("mass of %s is %.2f\n", fDef->GetParticleName().c_str(), TMath::Sqrt(fE*fE - fP.mag2()));
35+
3436
// recalculate momentum
3537
G4double p_old = fP.mag();
3638
G4double p_new = TMath::Sqrt(fE*fE - fM*fM);

0 commit comments

Comments
 (0)