2#ifndef RIVET_USERCENTESTIMATE_HH
3#define RIVET_USERCENTESTIMATE_HH
5#include "Rivet/Projections/SingleValueProjection.hh"
6#include "Rivet/Projections/HepMCHeavyIon.hh"
14 using SingleValueProjection::operator=;
25 using Projection::operator =;
32 setValue(apply<HepMCHeavyIon>(e,
"HepMC").user_cent_estimate());
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Definition HepMCHeavyIon.hh:12
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version)
Definition ProjectionApplier.hh:175
Base class for all Rivet projections.
Definition Projection.hh:29
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:148
Base class for projections returning a single floating point value.
Definition SingleValueProjection.hh:17
void setValue(double v)
Set the value.
Definition SingleValueProjection.hh:48
void clear()
Unset the value.
Definition SingleValueProjection.hh:54
Definition UserCentEstimate.hh:11
void project(const Event &e)
Definition UserCentEstimate.hh:30
RIVET_DEFAULT_PROJ_CLONE(UserCentEstimate)
Clone on the heap.
CmpState compare(const Projection &) const
Definition UserCentEstimate.hh:35
Definition MC_CENT_PPB_Projections.hh:10