Rivet API documentation
![]() |
Rivet 4.1.3
|
CentralityProjection.hh
Used together with the percentile-based analysis objects Percentile and PercentileXaxis.
Definition CentralityProjection.hh:27
CentralityProjection()
Default constructor.
Definition CentralityProjection.hh:33
CmpState compare(const Projection &p) const
Definition CentralityProjection.hh:74
vector< string > projections() const
The list of names of the internal projections.
Definition CentralityProjection.hh:95
double operator[](int i) const
Definition CentralityProjection.hh:69
bool empty() const
Cheek if no internal projections have been added.
Definition CentralityProjection.hh:62
void project(const Event &e)
Perform all internal projections.
Definition CentralityProjection.hh:54
void add(const SingleValueProjection &p, string pname)
Add a new centrality estimate.
Definition CentralityProjection.hh:48
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
const PROJ & getProjection(const std::string &name) const
Definition ProjectionApplier.hh:71
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > apply(const Event &evt, const Projection &proj) const
Apply the supplied projection on event evt.
Definition ProjectionApplier.hh:119
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version).
Definition ProjectionApplier.hh:184
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:148
void setValue(double v)
Set the value.
Definition SingleValueProjection.hh:48
SingleValueProjection()
The default constructor.
Definition SingleValueProjection.hh:21
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:653
Definition MC_CENT_PPB_Projections.hh:10
Generated on for Rivet by
