1 #ifndef EDepSim_VertexInfo_hh_seen 2 #define EDepSim_VertexInfo_hh_seen 4 #include <G4VUserPrimaryVertexInformation.hh> 13 namespace EDepSim {
class VertexInfo;}
void SetFilename(const G4String &f)
Set the file that this vertex came from.
double GetProbability() const
Get the probability of the interaction.
G4String fFilename
The file that this vertex came from.
G4String fName
The generator name.
void SetCrossSection(double xs)
virtual void AddInformationalVertex(G4PrimaryVertex *vtx)
Add an informational vertex to this event.
double GetWeight() const
Get the weight of the vertex. This will be one if it's not filled.
const G4String & GetReaction() const
Get the reaction code that created this vertex.
G4String fReaction
The reaction code as defined by the kinematics generator.
int fInteractionNumber
The index of the interaction in the input neutrino file.
Construct a module from components.
int GetInteractionNumber() const
Get the index of the interaction within the input interaction file.
void SetDiffCrossSection(double xs)
const G4String & GetFilename()
Get the file that this vertex came from.
void SetProbability(double p)
G4PrimaryVertex * fInformationalVertex
void SetInteractionNumber(int i)
Set the index of the interaction within the input interaction file.
virtual int GetNumberOfInformationalVertex() const
Return the number of informational vertices.
double GetDiffCrossSection() const
virtual const G4PrimaryVertex * GetInformationalVertex(int i=0) const
void Print() const
Required by G4UserPrimaryVertexInformation.
double GetCrossSection() const
Get the cross section for the reaction that created this vertex.
void SetReaction(const G4String &r)
void SetName(const G4String &name)