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/microbeam/src/MicrobeamEventAction.cc

    r807 r1337  
    2525//
    2626// -------------------------------------------------------------------
    27 // $Id: MicrobeamEventAction.cc,v 1.6 2006/06/29 16:05:29 gunter Exp $
     27// $Id: MicrobeamEventAction.cc,v 1.8 2010/06/07 03:18:01 sincerti Exp $
    2828// -------------------------------------------------------------------
    2929
    3030#include "G4Event.hh"
    31 #include "G4TrajectoryContainer.hh"
    32 #include "G4Trajectory.hh"
    33 #include "G4VVisManager.hh"
    3431#include "Randomize.hh"
    3532
     
    6057//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
    6158
    62 void MicrobeamEventAction::EndOfEventAction(const G4Event* evt)
     59void MicrobeamEventAction::EndOfEventAction(const G4Event* )
    6360
    6461 
     
    8178        G4cout << G4endl;
    8279}
    83 
    84 
    85 if (G4VVisManager::GetConcreteInstance())
    86     {
    87       G4TrajectoryContainer * trajectoryContainer = evt->GetTrajectoryContainer();
    88       G4int n_trajectories = 0;
    89       if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();
    90      
    91       for (G4int i=0; i<n_trajectories; i++)
    92         {
    93           //G4cout<< "Iteration" << i <<G4endl;
    94           G4Trajectory* trj = (G4Trajectory*)((*(evt->GetTrajectoryContainer()))[i]);
    95           if (drawFlag == "all")
    96             {
    97               trj->DrawTrajectory(50);
    98             }
    99           else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))       
    100             {
    101               trj->DrawTrajectory(50);
    102             }
    103         }
    104 
    105             //save rndm status
    106      
    107       /*
    108       if (Run->GetRndmFreq() == 2)
    109         {
    110           HepRandom::saveEngineStatus("endOfEvent.rndm");   
    111           G4int evtNb = evt->GetEventID();
    112           if (evtNb%printModulo == 0)
    113             {
    114               //G4cout << "\n---> End of Event: " << evtNb << G4endl;
    115               //HepRandom::showEngineStatus();
    116             }
    117         }
    118       */   
    119     }
    120 
    12180}
Note: See TracChangeset for help on using the changeset viewer.