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/radioprotection/src/RemSimEventAction.cc

    r1230 r1337  
    3131//
    3232//
    33 // $Id: RemSimEventAction.cc,v 1.9 2006/06/29 16:23:45 gunter Exp $
    34 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     33// $Id: RemSimEventAction.cc,v 1.11 2010/06/07 05:19:47 perl Exp $
     34// GEANT4 tag $Name: geant4-09-04-beta-01 $
    3535//
    3636// Author : Susanna Guatelli, guatelli@ge.infn.it
     
    3939#include "G4Event.hh"
    4040#include "G4EventManager.hh"
    41 #include "G4TrajectoryContainer.hh"
    42 #include "G4Trajectory.hh"
    43 #include "G4VVisManager.hh"
    4441#include "G4ios.hh"
    4542//##include "Randomize.hh"
     
    5956}
    6057
    61 void RemSimEventAction::EndOfEventAction(const G4Event* evt)
     58void RemSimEventAction::EndOfEventAction(const G4Event*)
    6259{
    63   G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
    64   G4int n_trajectories =0;
    65   if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();
    66  
    67   if (G4VVisManager::GetConcreteInstance())
    68     {
    69       for (G4int i=0; i<n_trajectories; i++)
    70         { G4Trajectory* trj = (G4Trajectory*)
    71             ((*(evt->GetTrajectoryContainer()))[i]);
    72         trj->DrawTrajectory(50);
    73         }
    74     }
    7560}
Note: See TracChangeset for help on using the changeset viewer.