38#ifndef G4PrimaryVertex_hh
39#define G4PrimaryVertex_hh 1
69 inline void*
operator new(size_t);
70 inline void operator delete(
void* aPrimaryVertex);
107 G4int numberOfParticle = 0;
117void* G4PrimaryVertex::operator
new(std::size_t)
127void G4PrimaryVertex::operator
delete(
void* aPrimaryVertex)
141 X0 = x0; Y0 = y0; Z0 = z0;
177 return numberOfParticle;
183 if(theParticle ==
nullptr) { theParticle = pp; }
192 if(nextVertex ==
nullptr) { nextVertex = nv; }
193 else { tailVertex->
SetNext(nv); }
200 nextVertex =
nullptr;
201 tailVertex =
nullptr;
G4PART_DLL G4Allocator< G4PrimaryVertex > *& aPrimaryVertexAllocator()
CLHEP::Hep3Vector G4ThreeVector
void SetNext(G4PrimaryParticle *np)
G4bool operator==(const G4PrimaryVertex &right) const
virtual ~G4PrimaryVertex()
void SetNext(G4PrimaryVertex *nv)
G4PrimaryVertex * GetNext() const
G4double GetWeight() const
G4VUserPrimaryVertexInformation * GetUserInformation() const
G4PrimaryVertex & operator=(const G4PrimaryVertex &right)
G4bool operator!=(const G4PrimaryVertex &right) const
void SetPosition(G4double x0, G4double y0, G4double z0)
G4ThreeVector GetPosition() const
void SetPrimary(G4PrimaryParticle *pp)
void SetWeight(G4double w)
void SetUserInformation(G4VUserPrimaryVertexInformation *info)
G4PrimaryParticle * GetPrimary(G4int i=0) const
G4int GetNumberOfParticle() const