Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ParticleChange.cc,v 1.21 2001/12/24 05:14:40 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4ParticleChange.cc,v 1.21.10.1 2003/06/16 17:19:28 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -368,49 +368,49 @@ void G4ParticleChange::DumpInfo() const
|
||||
G4cout.precision(3);
|
||||
|
||||
G4cout << " Mass (GeV) : "
|
||||
<< G4std::setw(20) << theMassChange/GeV
|
||||
<< std::setw(20) << theMassChange/GeV
|
||||
<< G4endl;
|
||||
G4cout << " Charge (eplus) : "
|
||||
<< G4std::setw(20) << theChargeChange/eplus
|
||||
<< std::setw(20) << theChargeChange/eplus
|
||||
<< G4endl;
|
||||
G4cout << " Position - x (mm) : "
|
||||
<< G4std::setw(20) << thePositionChange.x()/mm
|
||||
<< std::setw(20) << thePositionChange.x()/mm
|
||||
<< G4endl;
|
||||
G4cout << " Position - y (mm) : "
|
||||
<< G4std::setw(20) << thePositionChange.y()/mm
|
||||
<< std::setw(20) << thePositionChange.y()/mm
|
||||
<< G4endl;
|
||||
G4cout << " Position - z (mm) : "
|
||||
<< G4std::setw(20) << thePositionChange.z()/mm
|
||||
<< std::setw(20) << thePositionChange.z()/mm
|
||||
<< G4endl;
|
||||
G4cout << " Time (ns) : "
|
||||
<< G4std::setw(20) << theTimeChange/ns
|
||||
<< std::setw(20) << theTimeChange/ns
|
||||
<< G4endl;
|
||||
G4cout << " Proper Time (ns) : "
|
||||
<< G4std::setw(20) << theProperTimeChange/ns
|
||||
<< std::setw(20) << theProperTimeChange/ns
|
||||
<< G4endl;
|
||||
G4cout << " Momentum Direct - x : "
|
||||
<< G4std::setw(20) << theMomentumDirectionChange.x()
|
||||
<< std::setw(20) << theMomentumDirectionChange.x()
|
||||
<< G4endl;
|
||||
G4cout << " Momentum Direct - y : "
|
||||
<< G4std::setw(20) << theMomentumDirectionChange.y()
|
||||
<< std::setw(20) << theMomentumDirectionChange.y()
|
||||
<< G4endl;
|
||||
G4cout << " Momentum Direct - z : "
|
||||
<< G4std::setw(20) << theMomentumDirectionChange.z()
|
||||
<< std::setw(20) << theMomentumDirectionChange.z()
|
||||
<< G4endl;
|
||||
G4cout << " Kinetic Energy (MeV): "
|
||||
<< G4std::setw(20) << theEnergyChange/MeV
|
||||
<< std::setw(20) << theEnergyChange/MeV
|
||||
<< G4endl;
|
||||
G4cout << " Polarization - x : "
|
||||
<< G4std::setw(20) << thePolarizationChange.x()
|
||||
<< std::setw(20) << thePolarizationChange.x()
|
||||
<< G4endl;
|
||||
G4cout << " Polarization - y : "
|
||||
<< G4std::setw(20) << thePolarizationChange.y()
|
||||
<< std::setw(20) << thePolarizationChange.y()
|
||||
<< G4endl;
|
||||
G4cout << " Polarization - z : "
|
||||
<< G4std::setw(20) << thePolarizationChange.z()
|
||||
<< std::setw(20) << thePolarizationChange.z()
|
||||
<< G4endl;
|
||||
G4cout << " Track Weight : "
|
||||
<< G4std::setw(20) << theWeightChange
|
||||
<< std::setw(20) << theWeightChange
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ParticleChangeForDecay.cc,v 1.7 2001/08/16 08:17:59 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4ParticleChangeForDecay.cc,v 1.7.12.1 2003/06/16 17:19:31 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -146,7 +146,7 @@ void G4ParticleChangeForDecay::DumpInfo() const
|
||||
|
||||
G4cout.precision(3);
|
||||
G4cout << " Time (ns) : "
|
||||
<< G4std::setw(20) << theTimeChange/ns
|
||||
<< std::setw(20) << theTimeChange/ns
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ParticleChangeForLoss.cc,v 1.6 2001/07/11 10:08:39 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4ParticleChangeForLoss.cc,v 1.6.12.1 2003/06/16 17:19:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -154,7 +154,7 @@ void G4ParticleChangeForLoss::DumpInfo() const
|
||||
|
||||
G4cout.precision(3);
|
||||
G4cout << " Kinetic Energy (MeV): "
|
||||
<< G4std::setw(20) << theEnergyChange/MeV
|
||||
<< std::setw(20) << theEnergyChange/MeV
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ParticleChangeForMSC.cc,v 1.8 2001/08/16 08:17:59 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4ParticleChangeForMSC.cc,v 1.8.12.1 2003/06/16 17:19:36 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -166,22 +166,22 @@ void G4ParticleChangeForMSC::DumpInfo() const
|
||||
|
||||
G4cout.precision(3);
|
||||
G4cout << " Position - x (mm) : "
|
||||
<< G4std::setw(20) << thePositionChange.x()/mm
|
||||
<< std::setw(20) << thePositionChange.x()/mm
|
||||
<< G4endl;
|
||||
G4cout << " Position - y (mm) : "
|
||||
<< G4std::setw(20) << thePositionChange.y()/mm
|
||||
<< std::setw(20) << thePositionChange.y()/mm
|
||||
<< G4endl;
|
||||
G4cout << " Position - z (mm) : "
|
||||
<< G4std::setw(20) << thePositionChange.z()/mm
|
||||
<< std::setw(20) << thePositionChange.z()/mm
|
||||
<< G4endl;
|
||||
G4cout << " Momentum Direction - x : "
|
||||
<< G4std::setw(20) << theMomentumDirectionChange.x()
|
||||
<< std::setw(20) << theMomentumDirectionChange.x()
|
||||
<< G4endl;
|
||||
G4cout << " Momentum Direction - y : "
|
||||
<< G4std::setw(20) << theMomentumDirectionChange.y()
|
||||
<< std::setw(20) << theMomentumDirectionChange.y()
|
||||
<< G4endl;
|
||||
G4cout << " Momentum Direction - z : "
|
||||
<< G4std::setw(20) << theMomentumDirectionChange.z()
|
||||
<< std::setw(20) << theMomentumDirectionChange.z()
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ParticleChangeForTransport.cc,v 1.14 2003/01/22 17:54:56 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4ParticleChangeForTransport.cc,v 1.15 2003/06/16 17:13:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -224,7 +224,7 @@ void G4ParticleChangeForTransport::DumpInfo() const
|
||||
|
||||
G4cout.precision(3);
|
||||
G4cout << " Touchable (pointer) : "
|
||||
<< G4std::setw(20) << theTouchableHandle()
|
||||
<< std::setw(20) << theTouchableHandle()
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Step.cc,v 1.5 2001/07/11 10:08:39 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4StepPoint.cc,v 1.9 2002/12/16 11:59:12 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Track.cc,v 1.18 2002/02/12 01:48:53 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4Track.cc,v 1.19 2003/05/20 22:24:41 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -126,10 +126,9 @@ G4Track & G4Track::operator=(const G4Track &right)
|
||||
fVtxKineticEnergy = right.fVtxKineticEnergy;
|
||||
fVtxMomentumDirection = right.fVtxMomentumDirection;
|
||||
|
||||
// CreatorProcess is not copied
|
||||
// CreatorProcess and UserInformation are not copied
|
||||
fpCreatorProcess = 0;
|
||||
|
||||
fpUserInformation = right.fpUserInformation;
|
||||
fpUserInformation = 0;
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VParticleChange.cc,v 1.11 2002/11/20 16:52:49 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4VParticleChange.cc,v 1.12.2.1 2003/06/16 17:19:38 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -147,17 +147,17 @@ void G4VParticleChange::DumpInfo() const
|
||||
G4cout.precision(3);
|
||||
G4cout << " -----------------------------------------------"
|
||||
<< G4endl;
|
||||
G4cout << " G4ParticleChange Information " << G4std::setw(20) << G4endl;
|
||||
G4cout << " G4ParticleChange Information " << std::setw(20) << G4endl;
|
||||
G4cout << " -----------------------------------------------"
|
||||
<< G4endl;
|
||||
|
||||
G4cout << " # of 2ndaries : "
|
||||
<< G4std::setw(20) << theNumberOfSecondaries
|
||||
<< std::setw(20) << theNumberOfSecondaries
|
||||
<< G4endl;
|
||||
|
||||
if (theNumberOfSecondaries >0) {
|
||||
G4cout << " Pointer to 2ndaries : "
|
||||
<< G4std::setw(20) << GetSecondary(0)
|
||||
<< std::setw(20) << GetSecondary(0)
|
||||
<< G4endl;
|
||||
G4cout << " (Showed only 1st one)"
|
||||
<< G4endl;
|
||||
@@ -166,11 +166,11 @@ void G4VParticleChange::DumpInfo() const
|
||||
<< G4endl;
|
||||
|
||||
G4cout << " Energy Deposit (MeV): "
|
||||
<< G4std::setw(20) << theLocalEnergyDeposit/MeV
|
||||
<< std::setw(20) << theLocalEnergyDeposit/MeV
|
||||
<< G4endl;
|
||||
|
||||
G4cout << " Track Status : "
|
||||
<< G4std::setw(20);
|
||||
<< std::setw(20);
|
||||
if( theStatusChange == fAlive ){
|
||||
G4cout << " Alive";
|
||||
} else if( theStatusChange == fStopButAlive ){
|
||||
@@ -186,15 +186,15 @@ void G4VParticleChange::DumpInfo() const
|
||||
}
|
||||
G4cout << G4endl;
|
||||
G4cout << " True Path Length (mm) : "
|
||||
<< G4std::setw(20) << theTrueStepLength/mm
|
||||
<< std::setw(20) << theTrueStepLength/mm
|
||||
<< G4endl;
|
||||
G4cout << " Stepping Control : "
|
||||
<< G4std::setw(20) << theSteppingControlFlag
|
||||
<< std::setw(20) << theSteppingControlFlag
|
||||
<< G4endl;
|
||||
G4cout << G4endl;
|
||||
}
|
||||
|
||||
G4bool G4VParticleChange::CheckIt(const G4Track& aTrack)
|
||||
G4bool G4VParticleChange::CheckIt(const G4Track& )
|
||||
{
|
||||
|
||||
G4bool exitWithError = false;
|
||||
|
||||
Reference in New Issue
Block a user