Import Geant4 2.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:42:07 +02:00
parent 103bda00c8
commit e7d7193284
3106 changed files with 171117 additions and 90550 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4EvtBiasMechanism.cc,v 1.3 1999/12/15 14:53:55 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Mars5GeVMechanism.cc,v 1.4 1999/12/15 14:53:55 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ------------------------------------------------------------
+2 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleChange.cc,v 1.9 2000/01/18 02:54:14 kurasige Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleChange.cc,v 1.10 2000/02/13 15:08:27 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
@@ -471,7 +471,6 @@ G4bool G4ParticleChange::CheckIt(const G4Track& aTrack)
// dump out information of this particle change
if (!itsOK) {
G4cout << " G4ParticleChange::CheckIt " <<G4endl;
G4cout << " pointer : " << this <<G4endl ;
DumpInfo();
}
+2 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleChangeForDecay.cc,v 1.4 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleChangeForDecay.cc,v 1.5 2000/02/13 15:08:27 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
@@ -159,7 +159,6 @@ G4bool G4ParticleChangeForDecay::CheckIt(const G4Track& aTrack)
// dump out information of this particle change
if (!itsOK) {
G4cout << " G4ParticleChangeForDecay::CheckIt " <<G4endl;
G4cout << " pointer : " << this <<G4endl ;
DumpInfo();
}
+2 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleChangeForLoss.cc,v 1.4 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleChangeForLoss.cc,v 1.5 2000/02/13 15:08:28 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
@@ -164,7 +164,6 @@ G4bool G4ParticleChangeForLoss::CheckIt(const G4Track& aTrack)
// dump out information of this particle change
if (!itsOK) {
G4cout << " G4ParticleChangeForLoss::CheckIt " <<G4endl;
G4cout << " pointer : " << this <<G4endl ;
DumpInfo();
}
+2 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleChangeForMSC.cc,v 1.5 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleChangeForMSC.cc,v 1.6 2000/02/13 15:08:28 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
@@ -195,7 +195,6 @@ G4bool G4ParticleChangeForMSC::CheckIt(const G4Track& aTrack)
// dump out information of this particle change
if (!itsOK) {
G4cout << " G4ParticleChangeForMSC::CheckIt " <<G4endl;
G4cout << " pointer : " << this <<G4endl ;
DumpInfo();
}
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleChangeForTransport.cc,v 1.5 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4ParticleChangeForTransport.cc,v 1.7 2000/05/16 00:34:27 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
@@ -64,6 +64,7 @@ G4ParticleChangeForTransport & G4ParticleChangeForTransport::operator=(const G4P
theNumberOfSecondaries = right.theNumberOfSecondaries;
theStatusChange = right.theStatusChange;
theTouchableChange = right.theTouchableChange;
theMaterialChange = right.theMaterialChange;
theMomentumDirectionChange = right.theMomentumDirectionChange;
thePolarizationChange = right.thePolarizationChange;
thePositionChange = right.thePositionChange;
@@ -139,8 +140,8 @@ G4Step* G4ParticleChangeForTransport::UpdateStepForAlongStep(G4Step* pStep)
// update polarization
//pPostStepPoint->AddPolarization( thePolarizationChange
// - pPreStepPoint->GetPolarization());
pPostStepPoint->AddPolarization( thePolarizationChange
- pPreStepPoint->GetPolarization());
// update position and time
pPostStepPoint->AddPosition( thePositionChange
@@ -176,6 +177,8 @@ G4Step* G4ParticleChangeForTransport::UpdateStepForPostStep(G4Step* pStep)
// (touchable can be changed only at PostStepDoIt)
pPostStepPoint->SetTouchable( theTouchableChange );
pPostStepPoint->SetMaterial( theMaterialChange );
// It used to call base class's method
// - but this would copy uninitialised data members
// return G4ParticleChange::UpdateStepForPostStep(pStep);
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Step.cc,v 1.4 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// GEANT4 tag $Name: geant4-02-00 $
//
//
//---------------------------------------------------------------
+50 -12
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4StepPoint.cc,v 1.2 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4StepPoint.cc,v 1.3 2000/02/16 16:10:06 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
//---------------------------------------------------------------
@@ -28,20 +28,58 @@
#include "G4StepPoint.hh"
//////////////////////////
G4StepPoint::G4StepPoint()
G4StepPoint::G4StepPoint():
//////////////////////////
fpTouchable(0),fpMaterial(0),fpProcessDefinedStep(0)
{
}
//////////////////////////
G4StepPoint::G4StepPoint(const G4StepPoint &right):
//////////////////////////
fPosition(right.fPosition),
fGlobalTime(right.fGlobalTime),
fLocalTime(right.fLocalTime),
fProperTime(right.fProperTime),
fMomentumDirection(right.fMomentumDirection),
fKineticEnergy(right.fKineticEnergy),
fpTouchable(right.fpTouchable),
fpMaterial(right.fpMaterial),
fSafety(right.fSafety),
fPolarization(right.fPolarization),
fStepStatus(right.fStepStatus),
fpProcessDefinedStep(right.fpProcessDefinedStep),
fMass(right.fMass),
fCharge(right.fCharge),
fWeight(right.fWeight)
{}
//////////////////////////
G4StepPoint & G4StepPoint::operator=(const G4StepPoint &right)
//////////////////////////
{
}
///////////////////////////
G4StepPoint::~G4StepPoint()
///////////////////////////
{
if (this != &right) {
fPosition = right.fPosition;
fGlobalTime = right.fGlobalTime;
fLocalTime = right.fLocalTime;
fProperTime = right.fProperTime;
fMomentumDirection = right.fMomentumDirection;
fKineticEnergy = right.fKineticEnergy;
fpTouchable = right.fpTouchable;
fpMaterial = right.fpMaterial;
fSafety = right.fSafety;
fPolarization = right.fPolarization;
fStepStatus = right.fStepStatus;
fpProcessDefinedStep = right.fpProcessDefinedStep;
fMass = right.fMass;
fCharge = right.fCharge;
fWeight = right.fWeight;
}
return *this;
}
+7 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Track.cc,v 1.3 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4Track.cc,v 1.4 2000/06/02 05:36:53 asaim Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
//---------------------------------------------------------------
@@ -47,6 +47,8 @@ G4Track::G4Track(G4DynamicParticle* apValueDynamicParticle,
fBelowThreshold = false;
fGoodForTracking = false;
fWeight = 1.0;
fpUserInformation = 0;
}
//////////////////
@@ -70,6 +72,8 @@ G4Track::G4Track()
fBelowThreshold = false;
fGoodForTracking = false;
fWeight = 1.0;
fpUserInformation = 0;
}
///////////////////
@@ -77,6 +81,7 @@ G4Track::~G4Track()
///////////////////
{
delete fpDynamicParticle;
delete fpUserInformation;
}
///////////////////
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VEvtBiasMechanism.cc,v 1.2 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
+2 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VParticleChange.cc,v 1.4 1999/12/15 14:53:56 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// $Id: G4VParticleChange.cc,v 1.5 2000/02/13 15:08:28 kurasige Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// --------------------------------------------------------------
@@ -240,7 +240,6 @@ G4bool G4VParticleChange::CheckIt(const G4Track& aTrack)
// dump out information of this particle change
if (! itsOK ){
G4cout << " G4VParticleChange::CheckIt " <<G4endl;
G4cout << " pointer : " << this <<G4endl ;
DumpInfo();
}