struct Rivet::LastParticleWith

Rivet::LastParticleWith

Module: Particle classifier -> bool functors

Determine whether a particle is the last in a decay chain to meet the cut/function.

#include <ParticleUtils.hh>

Inherits from Rivet::BoolParticleFunctor

Public Functions

Name
template <typename FN >
LastParticleWith(const FN & f)
LastParticleWith(const Cut & c)
virtual booloperator()(const Particle & p) const

Public Attributes

Name
std::function< bool(const Particle &)>fn

Additional inherited members

Public Functions inherited from Rivet::BoolParticleFunctor

Name
virtual~BoolParticleFunctor()

Public Functions Documentation

function LastParticleWith

template <typename FN >
inline LastParticleWith(
    const FN & f
)

function LastParticleWith

LastParticleWith(
    const Cut & c
)

function operator()

inline virtual bool operator()(
    const Particle & p
) const

Reimplements: Rivet::BoolParticleFunctor::operator()

Public Attributes Documentation

variable fn

std::function< bool(const Particle &)> fn;

Updated on 2022-08-07 at 20:17:17 +0100