Import Geant4 4.1.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4EventManager.cc,v 1.11 2001/08/28 05:35:00 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4EventManager.cc,v 1.12 2002/05/15 05:47:49 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -173,7 +173,8 @@ void G4EventManager::ProcessOneEvent(G4Event* anEvent)
|
||||
if(aTrajectory&&(istop!=fStopButAlive)&&(istop!=fSuspend))
|
||||
{
|
||||
if(!trajectoryContainer)
|
||||
{ trajectoryContainer = new G4TrajectoryContainer; }
|
||||
{ trajectoryContainer = new G4TrajectoryContainer;
|
||||
currentEvent->SetTrajectoryContainer(trajectoryContainer); }
|
||||
trajectoryContainer->insert(aTrajectory);
|
||||
}
|
||||
#endif
|
||||
@@ -224,10 +225,6 @@ void G4EventManager::ProcessOneEvent(G4Event* anEvent)
|
||||
if(sdManager)
|
||||
{ sdManager->TerminateCurrentEvent(currentEvent->GetHCofThisEvent()); }
|
||||
|
||||
#ifdef G4_STORE_TRAJECTORY
|
||||
currentEvent->SetTrajectoryContainer(trajectoryContainer);
|
||||
#endif
|
||||
|
||||
if(userEventAction) userEventAction->EndOfEventAction(currentEvent);
|
||||
currentEvent = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user