38#ifndef G4PrimaryVertex_hh
39#define G4PrimaryVertex_hh 1
70 inline void*
operator new(size_t);
71 inline void operator delete(
void* aPrimaryVertex);
106 G4int numberOfParticle = 0;
115inline void* G4PrimaryVertex::operator
new(std::size_t)
123inline void G4PrimaryVertex::operator
delete(
void* aPrimaryVertex)
167 return numberOfParticle;
172 if (theParticle ==
nullptr) {
184 if (nextVertex ==
nullptr) {
195 nextVertex =
nullptr;
196 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)
G4PrimaryVertex()=default
void SetUserInformation(G4VUserPrimaryVertexInformation *info)
G4PrimaryParticle * GetPrimary(G4int i=0) const
G4int GetNumberOfParticle() const