2 #ifndef RIVET_USERCENTESTIMATE_HH 3 #define RIVET_USERCENTESTIMATE_HH 5 #include "Rivet/Projections/SingleValueProjection.hh" 6 #include "Rivet/Projections/HepMCHeavyIon.hh" 26 set(apply<HepMCHeavyIon>(e,
"HepMC").user_cent_estimate());
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:142
Definition: MC_Cent_pPb.hh:10
Base class for projections returning a single floating point value.
Definition: SingleValueProjection.hh:17
CmpState compare(const Projection &p) const
Definition: UserCentEstimate.hh:29
DEFAULT_RIVET_PROJ_CLONE(UserCentEstimate)
Clone on the heap.
Definition: UserCentEstimate.hh:11
Definition: HepMCHeavyIon.hh:12
Representation of a HepMC event, and enabler of Projection caching.
Definition: Event.hh:22
const PROJ & declare(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition: ProjectionApplier.hh:170
void project(const Event &e)
Definition: UserCentEstimate.hh:24
Base class for all Rivet projections.
Definition: Projection.hh:29
void clear()
Unset the value.
Definition: SingleValueProjection.hh:54