Changeset 1209 for trunk/examples/novice/N03/src/ExN03EventAction.cc
- Timestamp:
- Dec 2, 2009, 3:57:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/novice/N03/src/ExN03EventAction.cc
r609 r1209 25 25 // 26 26 // 27 // $Id: ExN03EventAction.cc,v 1.2 8 2006/10/26 14:30:05 allisonExp $28 // GEANT4 tag $Name: $27 // $Id: ExN03EventAction.cc,v 1.29 2008/01/17 17:31:32 maire Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 66 66 void ExN03EventAction::BeginOfEventAction(const G4Event* evt) 67 67 { 68 G4int evtNb = evt->GetEventID();69 if (evtNb%printModulo == 0) {70 G4cout << "\n---> Begin of event: " << evtNb << G4endl;71 CLHEP::HepRandom::showEngineStatus();72 68 G4int evtNb = evt->GetEventID(); 69 if (evtNb%printModulo == 0) { 70 G4cout << "\n---> Begin of event: " << evtNb << G4endl; 71 CLHEP::HepRandom::showEngineStatus(); 72 } 73 73 74 74 // initialisation per event … … 103 103 << G4endl; 104 104 105 } 105 } 106 106 } 107 107
Note: See TracChangeset
for help on using the changeset viewer.