Go to the documentation of this file.
8 #ifndef HERD_MCPRIMARYPARTICLE_H_
9 #define HERD_MCPRIMARYPARTICLE_H_
48 :
MCParticle(std::move(initialTime), std::move(pdgCode), std::move(position), std::move(momentum)){};
145 std::vector<MCInteraction>
MCPrimaryParticle(Point position, Momentum momentum)
Construct a new MCPrimaryParticle object.
Definition: MCPrimaryParticle.h:41
bool PrimaryDisappearanceIsPresent() const
Return true if the primary disappearance is present.
Definition: MCPrimaryParticle.cpp:43
A class describing a vector in 3D space.
Definition: Vec3D.h:33
Description of a Monte Carlo primary particle.
Definition: MCPrimaryParticle.h:29
void SetNoPrimaryDisappearance()
Indicate that the primary disappearance is not found.
Definition: MCPrimaryParticle.cpp:70
void SetNHadronicQuasiElasticInteractions(size_t nInteractions)
Indicate that the first hadronic interaction is not found.
Definition: MCPrimaryParticle.cpp:90
bool HadronicQuasiElasticInteractionIsPresent() const
Return true if hadronic quasi-elastic interactions are present.
Definition: MCPrimaryParticle.cpp:72
void SetHadronicInelasticInteraction(MCInteraction interaction)
Set the first hadronic object.
Definition: MCPrimaryParticle.cpp:36
bool HadronicInelasticInteractionIsPresent() const
Return true if the first hadronic interaction is present.
Definition: MCPrimaryParticle.cpp:13
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:22
std::vector< MCInteraction > m_primaryDisappearence
Primary disappearence event.
Definition: MCPrimaryParticle.h:147
void SetNoHadronicInelasticInteraction()
Indicate that the first hadronic interaction is not found.
Definition: MCPrimaryParticle.cpp:41
const std::vector< MCInteraction > & HadronicQuasiElasticInteractions() const
Return a list of hadronic quasi-elastic interaction.
Definition: MCPrimaryParticle.cpp:76
void SetPrimaryDisappearance(MCInteraction interaction)
Set the first hadronic object.
Definition: MCPrimaryParticle.cpp:65
MCPrimaryParticle(float initialTime, int pdgCode, Point position, Momentum momentum)
Construct a new MCPrimaryParticle object.
Definition: MCPrimaryParticle.h:47
MCPrimaryParticle()
Default constructor.
Definition: MCPrimaryParticle.h:35
const MCInteraction & HadronicInelasticInteraction() const
Return the first hadronic interaction.
Definition: MCPrimaryParticle.cpp:26
void AddHadronicQuasiElasticInteraction(MCInteraction interaction)
Set the first hadronic object.
Definition: MCPrimaryParticle.cpp:86
std::vector< MCInteraction > m_hadronicQuasiElasticInteractions
Vector with hadronic quasi-elastic interactions of the particle.
Definition: MCPrimaryParticle.h:146
const MCInteraction & PrimaryDisappearance() const
Return the primary disappearance.
Definition: MCPrimaryParticle.cpp:56
~MCPrimaryParticle() override=default
Virtual destructor
Description of a Monte Carlo particle.
Definition: MCParticle.h:30
std::vector< MCInteraction > m_hadronicInelasticInteraction
First hadronic inelastic interaction of the particle.
Definition: MCPrimaryParticle.h:144
Description of a Monte Carlo Interaction.
Definition: MCInteraction.h:25