2 #ifndef RIVET_HeavyHadrons_HH 3 #define RIVET_HeavyHadrons_HH 5 #include "Rivet/Projections/FinalState.hh" 6 #include "Rivet/Projections/UnstableParticles.hh" 7 #include "Rivet/Particle.hh" 8 #include "Rivet/Event.hh" 58 Particles
bHadrons(
const ParticleSelector& s)
const {
86 Particles
cHadrons(
const ParticleSelector& s)
const {
104 Particles _theBs, _theCs;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:142
Definition: MC_Cent_pPb.hh:10
Particles bHadrons(const ParticleSelector &s) const
Get weakly decaying b hadrons with a general filter function applied (return by value) ...
Definition: HeavyHadrons.hh:58
Particles bHadrons(double ptmin) const
Definition: HeavyHadrons.hh:53
Project out all physical-but-decayed particles in an event.
Definition: UnstableParticles.hh:25
Jets filter_select(const Jets &jets, const Cut &c)
Filter a jet collection in-place to the subset that passes the supplied Cut.
Definition: JetUtils.hh:160
Particles cHadrons(double ptmin) const
Definition: HeavyHadrons.hh:81
virtual void project(const Event &e)
Apply the projection to the event.
const Cut & open()
Fully open cut singleton, accepts everything.
Representation of a HepMC event, and enabler of Projection caching.
Definition: Event.hh:22
HeavyHadrons(const Cut &c=Cuts::open())
Definition: HeavyHadrons.hh:27
virtual CmpState compare(const Projection &p) const
Compare projections (only difference is in UFS definition)
Definition: HeavyHadrons.hh:99
Particles cHadrons(const ParticleSelector &s) const
Get weakly decaying c hadrons with a general filter function applied (return by value) ...
Definition: HeavyHadrons.hh:86
const Particles & bHadrons() const
Get all weakly decaying b hadrons (return by reference)
Definition: HeavyHadrons.hh:42
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:12
const PROJ & declare(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition: ProjectionApplier.hh:160
Cmp< Projection > mkNamedPCmp(const Projection &otherparent, const std::string &pname) const
DEFAULT_RIVET_PROJ_CLONE(HeavyHadrons)
Clone on the heap.
Base class for all Rivet projections.
Definition: Projection.hh:29
Particles cHadrons(const Cut &c) const
Get weakly decaying c hadrons with a Cut applied (return by value)
Definition: HeavyHadrons.hh:75
const Particles & cHadrons() const
Get all weakly decaying c hadrons (return by reference)
Definition: HeavyHadrons.hh:70
Project out the last pre-decay b and c hadrons.
Definition: HeavyHadrons.hh:19
Particles bHadrons(const Cut &c) const
Get weakly decaying b hadrons with a Cut applied (return by value)
Definition: HeavyHadrons.hh:47