rivet is hosted by Hepforge, IPPP Durham
LastParticleWithout Struct Reference

Determine whether a particle is the last in a decay chain not to meet the cut/function. More...

#include <ParticleUtils.hh>

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

Determine whether a particle is the last in a decay chain not to meet the cut/function.

Definition at line 491 of file ParticleUtils.hh.


Constructor & Destructor Documentation

LastParticleWithout ( const FN &  f) [inline]

Definition at line 493 of file ParticleUtils.hh.

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

Member Function Documentation

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

Implements BoolParticleFunctor.

Definition at line 495 of file ParticleUtils.hh.

{ return isLastWithout(p, fn); }

Member Data Documentation

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

Definition at line 496 of file ParticleUtils.hh.


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