Import Geant4 0.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:09:25 +02:00
parent b97f8d0df7
commit aaa409b6ee
2922 changed files with 55107 additions and 81674 deletions
@@ -5,15 +5,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticleChangeForMSC.icc,v 2.1 1998/12/02 17:19:25 urban Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ParticleChangeForMSC.icc,v 1.2 1999/02/06 10:44:36 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
inline
const G4ParticleMomentum* G4ParticleChangeForMSC::GetMomentumChange() const
const G4ThreeVector* G4ParticleChangeForMSC::GetMomentumChange() const
{
return &theMomentumChange;
return &theMomentumDirectionChange;
}
inline
@@ -22,15 +22,37 @@ inline
G4double Py,
G4double Pz )
{
theMomentumChange.setX(Px);
theMomentumChange.setY(Py);
theMomentumChange.setZ(Pz);
theMomentumDirectionChange.setX(Px);
theMomentumDirectionChange.setY(Py);
theMomentumDirectionChange.setZ(Pz);
}
inline
void G4ParticleChangeForMSC::SetMomentumChange(const G4ThreeVector& P)
{
theMomentumChange = P;
theMomentumDirectionChange = P;
}
inline
const G4ThreeVector* G4ParticleChangeForMSC::GetMomentumDirectionChange() const
{
return &theMomentumDirectionChange;
}
inline
void G4ParticleChangeForMSC::SetMomentumDirectionChange(
G4double Px,
G4double Py,
G4double Pz )
{
theMomentumDirectionChange.setX(Px);
theMomentumDirectionChange.setY(Py);
theMomentumDirectionChange.setZ(Pz);
}
inline
void G4ParticleChangeForMSC::SetMomentumDirectionChange(const G4ThreeVector& P)
{
theMomentumDirectionChange = P;
}
inline