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 24, 2017
1 parent cd2ca21 commit a5c424a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DDG4/src/Geant4StepHandler.cpp
Original file line number Diff line number Diff line change
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 a5c424a

Please sign in to comment.