Rivet API documentation
![]() |
Rivet 4.1.3
|
PrimaryParticles.hh
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
ParticleFinder(const Cut &c=Cuts::OPEN)
Construction using Cuts object.
Definition ParticleFinder.hh:20
Project out primary particles according to definition.
Definition PrimaryParticles.hh:18
ConstGenParticlePtr ancestor(ConstGenParticlePtr p, bool) const
virtual bool isIgnored(ConstGenParticlePtr p) const
Check if the particle should be ignored, via its status code.
virtual bool isBeam(ConstGenParticlePtr p) const
virtual bool isPrimaryPID(ConstGenParticlePtr p) const
PrimaryParticles(std::initializer_list< int > pids, const Cut &c=Cuts::open())
Definition PrimaryParticles.hh:27
virtual bool hasDecayed(ConstGenParticlePtr p) const
PrimaryParticles(const PrimaryParticles &other)
Copy constructor.
Definition PrimaryParticles.hh:41
ConstGenParticlePtr ancestor(ConstGenParticlePtr p) const
virtual void project(const Event &e)
virtual CmpState compare(const Projection &p) const
Definition PrimaryParticles.hh:51
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:148
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:653
PdgIdPair pids(const ParticlePair &pp)
Get the PDG ID codes of a ParticlePair.
Definition ParticleUtils.hh:717
Definition MC_CENT_PPB_Projections.hh:10
Generated on for Rivet by
