Rivet API documentation
![]() |
Rivet 4.1.3
|
ProjectionApplier.hh
107 MSG_ERROR("Projection " << name << " not found in declQueue of " << this << " (" << this->name()
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
static Log & getLog(const std::string &name)
const Projection & getProjection(const std::string &name) const
Definition ProjectionApplier.hh:90
const PROJ & get(const std::string &name) const
Definition ProjectionApplier.hh:84
void setProjectionHandler(ProjectionHandler &projectionHandler) const
const PROJ & getProjection(const std::string &name) const
Definition ProjectionApplier.hh:72
std::set< ConstProjectionPtr > getProjections() const
Get the contained projections, including recursion.
Definition ProjectionApplier.hh:45
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > apply(const std::string &name, const Event &evt) const
Apply the supplied projection on event evt (convenience arg-reordering alias).
Definition ProjectionApplier.hh:148
ProjectionHandler & getProjHandler() const
Get a reference to the ProjectionHandler for this thread.
Definition ProjectionApplier.hh:171
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
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > apply(const Event &evt, const PROJ &proj) const
Apply the supplied projection on event evt (user-facing alias).
Definition ProjectionApplier.hh:132
bool hasProjection(const std::string &name) const
Does this applier have a projection registered under the name name?
Definition ProjectionApplier.hh:55
void markAsOwned() const
Mark this object as owned by a proj-handler.
Definition ProjectionApplier.hh:158
std::set< ConstProjectionPtr > getImmediateChildProjections() const
Get the contained projections, excluding recursion.
Definition ProjectionApplier.hh:50
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > apply(const Event &evt, const std::string &name) const
Apply the supplied projection on event evt (user-facing alias).
Definition ProjectionApplier.hh:140
const PROJ & getProjectionFromDeclQueue(const std::string name) const
Definition ProjectionApplier.hh:97
const PROJ & declare(const std::string &name, const PROJ &proj) const
Register a contained projection (user-facing, arg-reordered version).
Definition ProjectionApplier.hh:213
The projection handler is a central repository for projections to be used in a Rivet analysis run.
Definition ProjectionHandler.hh:43
const Projection & getProjection(const ProjectionApplier &parent, const string &name) const
set< const Projection * > getChildProjections(const ProjectionApplier &parent, ProjDepth depth=SHALLOW) const
bool hasProjection(const ProjectionApplier &parent, const string &name) const
Check if there is a name projection registered by parent.
#define MSG_ERROR(x)
Highest level messaging for serious problems, using MSG_LVL.
Definition Logging.hh:202
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:819
Definition LHCbCommon.hh:9
Generated on for Rivet by
