Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PrimaryVertex.hh 67971 2013-03-13 10:13:24Z gcosmo $
|
||||
// $Id: G4PrimaryVertex.hh 99159 2016-09-07 08:11:50Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -78,6 +78,7 @@ class G4PrimaryVertex
|
||||
void SetPrimary(G4PrimaryParticle * pp);
|
||||
G4PrimaryParticle* GetPrimary(G4int i=0) const;
|
||||
void SetNext(G4PrimaryVertex* nv);
|
||||
void ClearNext();
|
||||
G4PrimaryVertex* GetNext() const;
|
||||
G4double GetWeight() const;
|
||||
void SetWeight(G4double w);
|
||||
@@ -149,7 +150,6 @@ inline void G4PrimaryVertex::SetPrimary(G4PrimaryParticle * pp)
|
||||
numberOfParticle++;
|
||||
}
|
||||
|
||||
|
||||
inline void G4PrimaryVertex::SetNext(G4PrimaryVertex* nv)
|
||||
{
|
||||
if(nextVertex == 0) { nextVertex = nv; }
|
||||
@@ -157,6 +157,12 @@ inline void G4PrimaryVertex::SetNext(G4PrimaryVertex* nv)
|
||||
tailVertex = nv;
|
||||
}
|
||||
|
||||
inline void G4PrimaryVertex::ClearNext()
|
||||
{
|
||||
nextVertex = nullptr;
|
||||
tailVertex = nullptr;
|
||||
}
|
||||
|
||||
inline G4PrimaryVertex* G4PrimaryVertex::GetNext() const
|
||||
{ return nextVertex; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user