struct Rivet::HasParticleAncestorWithout

Rivet::HasParticleAncestorWithout

Module: Particle classifier -> bool functors

Determine whether a particle has an ancestor which doesn’t meet the cut/function.

#include <ParticleUtils.hh>

Inherits from Rivet::BoolParticleFunctor

Public Functions

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

Public Attributes

Name
ParticleSelectorfn
boolonlyphysical

Additional inherited members

Public Functions inherited from Rivet::BoolParticleFunctor

Name
virtual~BoolParticleFunctor()

Public Functions Documentation

function HasParticleAncestorWithout

inline HasParticleAncestorWithout(
    const ParticleSelector & f,
    bool only_physical =true
)

function HasParticleAncestorWithout

HasParticleAncestorWithout(
    const Cut & c,
    bool only_physical =true
)

function operator()

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

Reimplements: Rivet::BoolParticleFunctor::operator()

Public Attributes Documentation

variable fn

ParticleSelector fn;

variable onlyphysical

bool onlyphysical;

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