struct Rivet::FirstParticleWith

Rivet::FirstParticleWith

Module: Particle classifier -> bool functors

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

#include <ParticleUtils.hh>

Inherits from Rivet::BoolParticleFunctor

Public Functions

Name
FirstParticleWith(const ParticleSelector & f)
FirstParticleWith(const Cut & c)
virtual booloperator()(const Particle & p) const

Public Attributes

Name
ParticleSelectorfn

Additional inherited members

Public Functions inherited from Rivet::BoolParticleFunctor

Name
virtual~BoolParticleFunctor()

Public Functions Documentation

function FirstParticleWith

inline FirstParticleWith(
    const ParticleSelector & f
)

function FirstParticleWith

FirstParticleWith(
    const Cut & c
)

function operator()

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

Reimplements: Rivet::BoolParticleFunctor::operator()

Public Attributes Documentation

variable fn

ParticleSelector fn;

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