Import Geant4 3.2.0 source tree
This commit is contained in:
@@ -1,12 +1,28 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
// ********************************************************************
|
||||
// * DISCLAIMER *
|
||||
// * *
|
||||
// * The following disclaimer summarizes all the specific disclaimers *
|
||||
// * of contributors to this software. The specific disclaimers,which *
|
||||
// * govern, are listed with their locations in: *
|
||||
// * http://cern.ch/geant4/license *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * By copying, distributing or modifying the Program (or any work *
|
||||
// * based on the Program) you indicate your acceptance of this *
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4SteppingManager.cc,v 1.12 2001/02/08 07:48:39 tsasaki Exp $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
// $Id: G4SteppingManager.cc,v 1.14.2.1 2001/06/28 19:15:30 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -62,11 +78,11 @@ G4SteppingManager::G4SteppingManager()
|
||||
->GetNavigatorForTracking());
|
||||
|
||||
fSelectedAtRestDoItVector
|
||||
= new G4SelectedAtRestDoItVector(SizeOfSelectedDoItVector);
|
||||
= new G4SelectedAtRestDoItVector(SizeOfSelectedDoItVector,0);
|
||||
fSelectedAlongStepDoItVector
|
||||
= new G4SelectedAlongStepDoItVector(SizeOfSelectedDoItVector);
|
||||
= new G4SelectedAlongStepDoItVector(SizeOfSelectedDoItVector,0);
|
||||
fSelectedPostStepDoItVector
|
||||
= new G4SelectedPostStepDoItVector(SizeOfSelectedDoItVector);
|
||||
= new G4SelectedPostStepDoItVector(SizeOfSelectedDoItVector,0);
|
||||
|
||||
SetNavigator(G4TransportationManager::GetTransportationManager()
|
||||
->GetNavigatorForTracking());
|
||||
@@ -267,10 +283,12 @@ void G4SteppingManager::SetInitialStep(G4Track* valueTrack)
|
||||
fTrack->SetNextTouchable( pTouchableFree );
|
||||
|
||||
// Set vertex information of G4Track at here
|
||||
fTrack->SetVertexPosition( fTrack->GetPosition() );
|
||||
fTrack->SetVertexMomentumDirection( fTrack->GetMomentumDirection() );
|
||||
fTrack->SetVertexKineticEnergy( fTrack->GetKineticEnergy() );
|
||||
|
||||
//corrected on 10APR2001/TS
|
||||
if ( fTrack->GetCurrentStepNumber() == 0 ) {
|
||||
fTrack->SetVertexPosition( fTrack->GetPosition() );
|
||||
fTrack->SetVertexMomentumDirection( fTrack->GetMomentumDirection() );
|
||||
fTrack->SetVertexKineticEnergy( fTrack->GetKineticEnergy() );
|
||||
}
|
||||
// Initial set up for attributes of 'G4SteppingManager'
|
||||
fCurrentVolume = pTouchableFree->GetVolume();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user