Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -63,8 +63,7 @@ void TrackingAction::PreUserTrackingAction(const G4Track* track)
|
||||
G4String name = track->GetDefinition()->GetParticleName();
|
||||
G4double meanLife = track->GetDefinition()->GetPDGLifeTime();
|
||||
G4double energy = track->GetKineticEnergy();
|
||||
//do not count excited states with meanlife = 0.
|
||||
if (meanLife != 0.) run->ParticleCount(name,energy,meanLife);
|
||||
if (meanLife != 0 ) run->ParticleCount(name,energy,meanLife);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
Reference in New Issue
Block a user