Skip to content

Commit

Permalink
Give G4cout to HepMC::GenEvent::print as a thread-safe ostream
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel committed Nov 7, 2014
1 parent d95e360 commit bf9a833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimG4Core/Generators/src/Generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void Generator::HepMC2G4(const HepMC::GenEvent * evt_orig, G4Event * g4evt)
(*(evt->vertices_begin()))->position().t());

if(verbose > 0) {
evt->print();
evt->print(G4cout);
LogDebug("SimG4CoreGenerator") << "Primary Vertex = ("
<< vtx_->x() << ","
<< vtx_->y() << ","
Expand Down

0 comments on commit bf9a833

Please sign in to comment.