rivet is hosted by Hepforge, IPPP Durham
HasParticleParentWithout Struct Reference

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

#include <ParticleUtils.hh>

List of all members.

Public Member Functions

template<typename FN >
 HasParticleParentWithout (const FN &f)
 HasParticleParentWithout (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 parent which doesn't meet the cut/function.

Definition at line 533 of file ParticleUtils.hh.


Constructor & Destructor Documentation

HasParticleParentWithout ( const FN &  f) [inline]

Definition at line 535 of file ParticleUtils.hh.

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

Member Function Documentation

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

Implements BoolParticleFunctor.

Definition at line 537 of file ParticleUtils.hh.

{ return hasParentWithout(p, fn); }

Member Data Documentation

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

Definition at line 538 of file ParticleUtils.hh.


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