struct Rivet::HasParticleDescendantWith

Rivet::HasParticleDescendantWith

Module: Particle classifier -> bool functors

Determine whether a particle has a descendant which meets the cut/function.

#include <ParticleUtils.hh>

Inherits from Rivet::BoolParticleFunctor

Public Functions

Name
HasParticleDescendantWith(const ParticleSelector & f, bool remove_duplicates =true)
HasParticleDescendantWith(const Cut & c, bool remove_duplicates =true)
virtual booloperator()(const Particle & p) const

Public Attributes

Name
ParticleSelectorfn
boolrmduplicates

Additional inherited members

Public Functions inherited from Rivet::BoolParticleFunctor

Name
virtual~BoolParticleFunctor()

Public Functions Documentation

function HasParticleDescendantWith

inline HasParticleDescendantWith(
    const ParticleSelector & f,
    bool remove_duplicates =true
)

function HasParticleDescendantWith

HasParticleDescendantWith(
    const Cut & c,
    bool remove_duplicates =true
)

function operator()

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

Reimplements: Rivet::BoolParticleFunctor::operator()

Public Attributes Documentation

variable fn

ParticleSelector fn;

variable rmduplicates

bool rmduplicates;

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