struct Rivet::HasParticleParentWith

Rivet::HasParticleParentWith

Module: Particle classifier -> bool functors

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

#include <ParticleUtils.hh>

Inherits from Rivet::BoolParticleFunctor

Public Functions

Name
HasParticleParentWith(const ParticleSelector & f)
HasParticleParentWith(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 HasParticleParentWith

inline HasParticleParentWith(
    const ParticleSelector & f
)

function HasParticleParentWith

HasParticleParentWith(
    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