Skip to content

Commit

Permalink
Set verbose true for G4EmSaturation to printout Birks coefficient.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunlu committed Mar 27, 2017
1 parent 8b5c50b commit 36426f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DDG4/src/Geant4StepHandler.cpp
Expand Up @@ -125,6 +125,7 @@ double Geant4StepHandler::birkAttenuation() const {
const G4Track* trk = step->GetTrack();
const G4ParticleDefinition* particle = trk->GetDefinition();
const G4MaterialCutsCouple* couple = trk->GetMaterialCutsCouple();
s_emSaturation.SetVerbose(true);
double engyVis = s_emSaturation.VisibleEnergyDeposition(particle,
couple,
length,
Expand Down

0 comments on commit 36426f6

Please sign in to comment.