39 const HepLorentzVector& initialMomentum,
40 const HepLorentzVector& finalMomentum,
41 const HepLorentzVector& initialPosition,
42 const HepLorentzVector& finalPosition,
43 const std::string process)
bool primaryParticle() const
Retrieve whether this is a primary particle.
const McParticle & mother() const
access to the mother particle
const HepLorentzVector & initialPosition() const
Retrieve pointer to the start, end vertex positions.
void setMother(const SmartRef< McParticle > m)
set the mother particle
const HepLorentzVector & initialFourMomentum() const
unsigned int statusFlags() const
retrieve all of status flags for const object
void initialize(StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &initialPosition, const std::string process="")
Set the initial attributes of the McParticle.
void removeDaughter(const SmartRef< McParticle > mcPart)
Used for pruning.
void finalize(const HepLorentzVector &finalPosition)
Set the final attributes of the McParticle.
bool leafParticle() const
Retrieve whether this is a leaf particle.
bool decayInFlight() const
Decayed in flight.
void init(McParticle *mother, StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &finalMomentum, const HepLorentzVector &initialPosition, const HepLorentzVector &finalPosition, const std::string process="")
const HepLorentzVector & finalPosition() const
StdHepId particleProperty() const
Retrieve particle property.
bool decayFromGenerator() const
Decayed from generator.