rivet is hosted by Hepforge, IPPP Durham
HasAbsPID Struct Reference

|PID| matching functor More...

#include <ParticleUtils.hh>

List of all members.

Public Member Functions

 HasAbsPID (PdgId pid)
bool operator() (const Particle &p) const

Public Attributes

PdgId targetpid

Detailed Description

|PID| matching functor

Definition at line 451 of file ParticleUtils.hh.


Constructor & Destructor Documentation

HasAbsPID ( PdgId  pid) [inline]

Definition at line 452 of file ParticleUtils.hh.

: targetpid(abs(pid)) { }

Member Function Documentation

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

Implements BoolParticleFunctor.

Definition at line 453 of file ParticleUtils.hh.

{ return p.abspid() == abs(targetpid); }

Member Data Documentation

Definition at line 454 of file ParticleUtils.hh.


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