32 #ifndef G4PrimaryVertex_h
33 #define G4PrimaryVertex_h 1
53 inline void *
operator new(size_t);
54 inline void operator delete(
void *aStackedTrack);
98 G4int numberOfParticle;
106 inline void * G4PrimaryVertex::operator
new(size_t)
115 inline void G4PrimaryVertex::operator
delete(
void * aPrimaryVertex)
124 { X0 = x0; Y0 = y0; Z0 =
z0; }
142 {
return numberOfParticle; }
146 if(theParticle == 0) { theParticle =
pp; }
155 if(nextVertex == 0) { nextVertex = nv; }
156 else { tailVertex->
SetNext(nv); }
161 {
return nextVertex; }
170 { userInfo = anInfo; }
G4PrimaryVertex & operator=(const G4PrimaryVertex &right)
void SetNext(G4PrimaryParticle *np)
G4int GetNumberOfParticle() const
G4ThreeVector GetPosition() const
G4PART_DLL G4ThreadLocal G4Allocator< G4PrimaryVertex > * aPrimaryVertexAllocator
CLHEP::Hep3Vector G4ThreeVector
G4int operator==(const G4PrimaryVertex &right) const
void SetWeight(G4double w)
void SetUserInformation(G4VUserPrimaryVertexInformation *anInfo)
G4double GetWeight() const
G4PrimaryParticle * GetPrimary(G4int i=0) const
G4VUserPrimaryVertexInformation * GetUserInformation() const
void SetNext(G4PrimaryVertex *nv)
G4PrimaryVertex * GetNext() const
virtual ~G4PrimaryVertex()
void SetPrimary(G4PrimaryParticle *pp)
void SetPosition(G4double x0, G4double y0, G4double z0)
G4int operator!=(const G4PrimaryVertex &right) const