1 #include <G4PrimaryVertex.hh> 6 : fInformationalVertex(NULL),
7 fInteractionNumber(0), fCrossSection(0.0), fDiffCrossSection(0.0),
8 fWeight(1.0), fProbability(1.0) {}
20 for (
int j=0; j < i; j++) {
21 if (infoVertex == NULL)
return NULL;
22 infoVertex = infoVertex->GetNext();
39 for (
int j=0; j < 1000; j++) {
40 if (infoVertex == NULL)
return number;
42 infoVertex = infoVertex->GetNext();
virtual void AddInformationalVertex(G4PrimaryVertex *vtx)
Add an informational vertex to this event.
G4PrimaryVertex * fInformationalVertex
virtual int GetNumberOfInformationalVertex() const
Return the number of informational vertices.
virtual const G4PrimaryVertex * GetInformationalVertex(int i=0) const