Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4PrimaryParticle.hh 67971 2013-03-13 10:13:24Z gcosmo $
// $Id: G4PrimaryParticle.hh 99159 2016-09-07 08:11:50Z gcosmo $
//
//
@@ -136,6 +136,7 @@ class G4PrimaryParticle
G4double GetPz() const;
G4PrimaryParticle * GetNext() const;
void SetNext(G4PrimaryParticle * np);
void ClearNext();
G4PrimaryParticle * GetDaughter() const;
void SetDaughter(G4PrimaryParticle * np);
G4int GetTrackID() const;
@@ -301,6 +302,11 @@ inline void G4PrimaryParticle::SetNext(G4PrimaryParticle * np)
else { nextParticle->SetNext(np); }
}
inline void G4PrimaryParticle::ClearNext()
{
nextParticle = nullptr;
}
inline void G4PrimaryParticle::SetDaughter(G4PrimaryParticle * np)
{
if(daughterParticle == 0) { daughterParticle = np; }