struct Rivet::HasParticleAncestorWith
Rivet::HasParticleAncestorWith
Module: Particle classifier -> bool functors
Determine whether a particle has an ancestor which meets the cut/function.
#include <ParticleUtils.hh>
Inherits from Rivet::BoolParticleFunctor
Public Functions
Name | |
---|---|
HasParticleAncestorWith(const ParticleSelector & f, bool only_physical =true) | |
HasParticleAncestorWith(const Cut & c, bool only_physical =true) | |
virtual bool | operator()(const Particle & p) const |
Public Attributes
Name | |
---|---|
ParticleSelector | fn |
bool | onlyphysical |
Additional inherited members
Public Functions inherited from Rivet::BoolParticleFunctor
Name | |
---|---|
virtual | ~BoolParticleFunctor() |
Public Functions Documentation
function HasParticleAncestorWith
inline HasParticleAncestorWith(
const ParticleSelector & f,
bool only_physical =true
)
function HasParticleAncestorWith
HasParticleAncestorWith(
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