1 #ifndef TG4PrimaryVertex_hxx_seen 2 #define TG4PrimaryVertex_hxx_seen 7 #include <TLorentzVector.h> 13 namespace EDepSim {
class PersistencyManager;}
24 : Position(0,0,0,0), GeneratorName(
"none"),
25 InteractionNumber(0), CrossSection(0.0), DiffCrossSection(0.0),
26 Weight(0.0), Probability(0.0) {}
69 #define EDEPSIM_USE_PUBLIC_FIELDS 71 #if defined(EDEPSIM_USE_PUBLIC_FIELDS)&&!defined(EDEPSIM_FORCE_PRIVATE_FIELDS)&&!defined(__CINT__) 73 #ifdef EDEPSIM_WARN_PUBLIC_FIELDS 74 #warning Using deprecated public fields. Please consider using the accessor. For example, to access PrimaryId, use GetPrimaryId(). 121 : TrackId(-1), PDGCode(0),
Momentum(0,0,0,0) {}
137 #if defined(EDEPSIM_USE_PUBLIC_FIELDS)&&!defined(EDEPSIM_FORCE_PRIVATE_FIELDS)&&!defined(__CINT__) 139 #ifdef EDEPSIM_WARN_PUBLIC_FIELDS 140 #warning Using deprecated public fields. Please consider using the accessor. For example, to access PrimaryId, use GetPrimaryId().
int GetPDGCode() const
The PDG code of the particle.
std::string Filename
The name of the input file.
Float_t CrossSection
The cross section for the reaction that created this vertex.
PrimaryParticles Particles
The PrimaryVertex points for this PrimaryVertex.
ChannelGroupService::Name Name
std::string Name
The name of the particle.
int GetInteractionNumber() const
The index (or identifier) of the interaction in the kinematics file.
TLorentzVector Momentum
The initial momentum of the particle.
const TLorentzVector & GetMomentum() const
The initial momentum of the particle.
const TLorentzVector & GetPosition() const
The initial position of the particle.
const char * GetReaction() const
The reaction that created this vertex.
std::string Reaction
The reaction that created this vertex.
Construct a module from components.
double GetDiffCrossSection() const
double GetCrossSection() const
The cross section for the reaction that created this vertex.
double GetProbability() const
const char * GetGeneratorName() const
The name of the generator that created this vertex.
std::vector< TG4PrimaryVertex > TG4PrimaryVertexContainer
TG4PrimaryVertexContainer Informational
The informational vertices associated with this vertex.
std::string GeneratorName
The name of the generator that created this vertex.
Int_t PDGCode
The PDG code of the particle.
TLorentzVector Position
The initial position of the particle.
const char * GetFilename() const
The name of the input file.
std::vector< TG4PrimaryParticle > PrimaryParticles
Int_t InteractionNumber
The index (or identifier) of the interaction in the kinematics file.
const char * GetName() const
The name of the particle.