rivet is hosted by Hepforge, IPPP Durham
HasParticleAncestorWithout Struct Reference

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

#include <ParticleUtils.hh>

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 512 of file ParticleUtils.hh.


Constructor & Destructor Documentation

HasParticleAncestorWithout ( const FN &  f) [inline]

Definition at line 514 of file ParticleUtils.hh.

: fn(f) { }

Member Function Documentation

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

Implements BoolParticleFunctor.

Definition at line 516 of file ParticleUtils.hh.

{ return hasAncestorWithout(p, fn); }

Member Data Documentation

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

Definition at line 517 of file ParticleUtils.hh.


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