Rivet API documentation
![]() |
Rivet 4.1.3
|
LossyFinalState.hh
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
CmpState compare(const Projection &p) const
Compare projections.
Definition LossyFinalState.hh:63
RIVET_DEFAULT_PROJ_CLONE(LossyFinalState)
Clone on the heap.
virtual ~LossyFinalState()
Virtual destructor, to allow subclassing.
Definition LossyFinalState.hh:40
LossyFinalState(const FinalState &fsp, FILTER filter)
Constructor from FinalState.
Definition LossyFinalState.hh:24
void project(const Event &e)
Apply the projection on the supplied event.
Definition LossyFinalState.hh:52
LossyFinalState(FILTER filter, const Cut &c=Cuts::open())
Stand-alone constructor. Initialises the base FinalState projection.
Definition LossyFinalState.hh:32
virtual const Particles & particles() const
Get the particles in no particular order, with no cuts.
Definition ParticleFinder.hh:65
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
Log & getLog() const
Get a Log object based on the getName() property of the calling projection object.
Definition Projection.hh:142
Cmp< Projection > mkNamedPCmp(const Projection &otherparent, const std::string &pname) const
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
