Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/advanced/human_phantom/src/G4HumanPhantomEventAction.cc

    r807 r1337  
    3636#include "G4Event.hh"
    3737#include "G4EventManager.hh"
    38 #include "G4TrajectoryContainer.hh"
    39 #include "G4Trajectory.hh"
    40 #include "G4VVisManager.hh"
    4138#include "G4ios.hh"
    4239#include "G4SDManager.hh"
     
    122119
    123120 totalEventEnergyDeposit();
    124 
    125 
    126   // Visualization of particle tracks
    127   G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
    128   G4int n_trajectories = 0;
    129   if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();
    130  
    131   if (G4VVisManager::GetConcreteInstance())
    132     {
    133      for (G4int i=0; i<n_trajectories; i++)
    134         { G4Trajectory* trj = (G4Trajectory*)
    135                                     ((*(evt->GetTrajectoryContainer()))[i]);
    136           trj->DrawTrajectory(500);
    137         }
    138     }
    139121}
    140122
Note: See TracChangeset for help on using the changeset viewer.