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:75
vector< string > projections() const
The list of names of the internal projections.
Definition CentralityProjection.hh:96
double operator[](int i) const
Definition CentralityProjection.hh:70
bool empty() const
Cheek if no internal projections have been added.
Definition CentralityProjection.hh:63
void project(const Event &e)
Perform all internal projections.
Definition CentralityProjection.hh:56
void add(const SingleValueProjection &p, string pname)
Add a new centrality estimate.
Definition CentralityProjection.hh:50
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:72
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:124
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version).
Definition ProjectionApplier.hh:205
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:146
void setValue(double v)
Set the value.
Definition SingleValueProjection.hh:49
SingleValueProjection()
The default constructor.
Definition SingleValueProjection.hh:21
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:819
Definition LHCbCommon.hh:9
Generated on for Rivet by
