ProjectionApplier.hh 89 apply(const Event& evt, const Projection& proj) const { return applyProjection<PROJ>(evt, proj); }
119 apply(const Event& evt, const std::string& name) const { return applyProjection<PROJ>(evt, name); }
124 apply(const std::string& name, const Event& evt) const { return applyProjection<PROJ>(evt, name); }
170 const PROJ& declare(const PROJ& proj, const std::string& name) { return declareProjection(proj, name); }
174 const PROJ& declare(const std::string& name, const PROJ& proj) { return declareProjection(proj, name); }
Representation of a HepMC event, and enabler of Projection caching. Definition: Event.hh:22 static Log & getLog(const std::string &name) Common base class for Projection and Analysis, used for internal polymorphism. Definition: ProjectionApplier.hh:21 const Projection & getProjection(const std::string &name) const Definition: ProjectionApplier.hh:67 std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > applyProjection(const Event &evt, const Projection &proj) const Definition: ProjectionApplier.hh:82 const PROJ & get(const std::string &name) const Definition: ProjectionApplier.hh:63 const PROJ & getProjection(const std::string &name) const Definition: ProjectionApplier.hh:56 const PROJ & declare(const PROJ &proj, const std::string &name) Register a contained projection (user-facing version) Definition: ProjectionApplier.hh:170 std::set< ConstProjectionPtr > getProjections() const Get the contained projections, including recursion. Definition: ProjectionApplier.hh:44 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:124 ProjectionHandler & getProjHandler() const Get a reference to the ProjectionHandler for this thread. Definition: ProjectionApplier.hh:141 std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > applyProjection(const Event &evt, const std::string &name) const Definition: ProjectionApplier.hh:112 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 (user-facing alias). Definition: ProjectionApplier.hh:89 const PROJ & declareProjection(const PROJ &proj, const std::string &name) Register a contained projection. Definition: ProjectionApplier.hh:161 const PROJ & declare(const std::string &name, const PROJ &proj) Register a contained projection (user-facing, arg-reordered version) Definition: ProjectionApplier.hh:174 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:104 bool hasProjection(const std::string &name) const Does this applier have a projection registered under the name name? Definition: ProjectionApplier.hh:49 void markAsOwned() const Mark this object as owned by a proj-handler. Definition: ProjectionApplier.hh:130 std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > applyProjection(const Event &evt, const PROJ &proj) const Definition: ProjectionApplier.hh:97 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:119 virtual std::string name() const =0 Get the name of this Projection or Analysis class. 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. double p(const ParticleBase &p) Unbound function access to p. Definition: ParticleBaseUtils.hh:653 Definition: MC_Cent_pPb.hh:10 Generated on Fri May 13 2022 23:02:06 for Rivet by |