rivet is hosted by Hepforge, IPPP Durham
HasParticleChildWith Struct Reference

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

#include <ParticleUtils.hh>

List of all members.

Public Member Functions

template<typename FN >
 HasParticleChildWith (const FN &f)
 HasParticleChildWith (const Cut &c)
bool operator() (const Particle &p) const

Public Attributes

std::function< bool(const
Particle &)> 
fn

Detailed Description

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

Definition at line 544 of file ParticleUtils.hh.


Constructor & Destructor Documentation

HasParticleChildWith ( const FN &  f) [inline]

Definition at line 546 of file ParticleUtils.hh.

: fn(f) { }
HasParticleChildWith ( const Cut c)

Member Function Documentation

bool operator() ( const Particle p) const [inline, virtual]

Implements BoolParticleFunctor.

Definition at line 548 of file ParticleUtils.hh.

{ return hasChildWith(p, fn); }

Member Data Documentation

std::function<bool(const Particle&)> fn

Definition at line 549 of file ParticleUtils.hh.


The documentation for this struct was generated from the following file: