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/extended/electromagnetic/TestEm6/src/EventAction.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: EventAction.cc,v 1.6 2006/06/29 16:57:04 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: EventAction.cc,v 1.8 2010/06/07 05:40:46 perl Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    6767//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    6868
    69 void EventAction::EndOfEventAction(const G4Event* evt)
     69void EventAction::EndOfEventAction(const G4Event*)
    7070{
    71   if (G4VVisManager::GetConcreteInstance())
    72   {
    73    G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
    74    G4int n_trajectories = 0;
    75    if (trajectoryContainer) n_trajectories = trajectoryContainer->entries(); 
    76    for(G4int i=0; i<n_trajectories; i++)
    77       { G4Trajectory* trj = (G4Trajectory*)
    78                                        ((*(evt->GetTrajectoryContainer()))[i]);
    79         if (drawFlag == "all") trj->DrawTrajectory(100);
    80         else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))
    81                                trj->DrawTrajectory(100);
    82       }
    83   }
    8471}
    8572
Note: See TracChangeset for help on using the changeset viewer.