38:X0(0.),Y0(0.),Z0(0.),T0(0.),theParticle(0),theTail(0),
39 nextVertex(0),tailVertex(0),numberOfParticle(0),Weight0(1.0),userInfo(0)
44:X0(x0),Y0(y0),Z0(z0),T0(t0),theParticle(0),theTail(0),
45 nextVertex(0),tailVertex(0),numberOfParticle(0),Weight0(1.0),userInfo(0)
49:T0(t0),theParticle(0),theTail(0),
50 nextVertex(0),tailVertex(0),numberOfParticle(0),Weight0(1.0),userInfo(0)
58:theParticle(0),theTail(0),
59 nextVertex(0),tailVertex(0),userInfo(0)
61 numberOfParticle = right.numberOfParticle;
67 if(theParticle != 0) {
88 Weight0 = right.Weight0;
91 if (theParticle !=0)
delete theParticle;
94 if (right.theParticle !=0 ) {
96 numberOfParticle += 1;
97 theTail = theParticle;
100 numberOfParticle += 1;
106 if (nextVertex !=0 )
delete nextVertex;
109 if (right.nextVertex !=0 ) {
111 tailVertex = nextVertex;
126{
return (
this==&right); }
129{
return (
this!=&right); }
133 if( i >= 0 && i < numberOfParticle ) {
135 for(
G4int j=0; j<i; j++ ){
136 if( particle == 0 )
return 0;
137 particle = particle->
GetNext();
151 <<
" Weight " << Weight0 <<
G4endl;
152 if(userInfo!=0) userInfo->
Print();
153 G4cout <<
" -- Primary particles :: "
154 <<
" # of primaries =" << numberOfParticle <<
G4endl;
155 if( theParticle != 0) theParticle->
Print();
156 if (nextVertex !=0 ) {
G4Allocator< G4PrimaryVertex > aPrimaryVertexAllocator
G4DLLIMPORT std::ostream G4cout
G4PrimaryParticle * GetNext() const
virtual ~G4PrimaryVertex()
G4PrimaryVertex * GetNext() const
G4PrimaryVertex & operator=(const G4PrimaryVertex &right)
G4int operator!=(const G4PrimaryVertex &right) const
G4PrimaryParticle * GetPrimary(G4int i=0) const
G4int operator==(const G4PrimaryVertex &right) const