- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/parallel/ParN02/src/ExN02EventAction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: ExN02EventAction.cc,v 1. 2 2006/06/29 17:34:41 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: ExN02EventAction.cc,v 1.3 2010/06/06 05:08:01 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 36 36 #include "G4EventManager.hh" 37 37 #include "G4TrajectoryContainer.hh" 38 #include "G4Trajectory.hh"39 #include "G4VVisManager.hh"40 38 #include "G4ios.hh" 41 39 … … 74 72 << " trajectories stored in this event." << G4endl; 75 73 } 76 77 // extract the trajectories and draw them78 //79 if (G4VVisManager::GetConcreteInstance())80 {81 for (G4int i=0; i<n_trajectories; i++)82 { G4Trajectory* trj = (G4Trajectory*)83 ((*(evt->GetTrajectoryContainer()))[i]);84 trj->DrawTrajectory(50);85 }86 }87 74 } 88 75
Note: See TracChangeset
for help on using the changeset viewer.