32#ifndef G4PrimaryVertex_h
33#define G4PrimaryVertex_h 1
51 inline void *
operator new(size_t);
52 inline void operator delete(
void *aStackedTrack);
96 G4int numberOfParticle;
102#if defined G4PARTICLES_ALLOC_EXPORT
108inline void * G4PrimaryVertex::operator
new(size_t)
110 void * aPrimaryVertex;
112 return aPrimaryVertex;
115inline void G4PrimaryVertex::operator
delete(
void * aPrimaryVertex)
124{ X0 = x0; Y0 = y0; Z0 = z0; }
142{
return numberOfParticle; }
146 if(theParticle == 0) { theParticle = pp; }
154 if(nextVertex == 0) { nextVertex = nv; }
155 else { tailVertex->
SetNext(nv); }
160{
return nextVertex; }
169{ userInfo = anInfo; }
G4DLLIMPORT G4Allocator< G4PrimaryVertex > aPrimaryVertexAllocator
CLHEP::Hep3Vector G4ThreeVector
void SetNext(G4PrimaryParticle *np)
void SetUserInformation(G4VUserPrimaryVertexInformation *anInfo)
virtual ~G4PrimaryVertex()
void SetNext(G4PrimaryVertex *nv)
G4PrimaryVertex * GetNext() const
G4double GetWeight() const
G4VUserPrimaryVertexInformation * GetUserInformation() const
G4PrimaryVertex & operator=(const G4PrimaryVertex &right)
void SetPosition(G4double x0, G4double y0, G4double z0)
G4ThreeVector GetPosition() const
G4int operator!=(const G4PrimaryVertex &right) const
void SetPrimary(G4PrimaryParticle *pp)
void SetWeight(G4double w)
G4PrimaryParticle * GetPrimary(G4int i=0) const
G4int GetNumberOfParticle() const
G4int operator==(const G4PrimaryVertex &right) const