rivet is hosted by Hepforge, IPPP Durham
DeltaRapGtr Struct Reference

$ |\Delta y| $ (with respect to another momentum, vec) greater-than functor More...

#include <ParticleBaseUtils.hh>

List of all members.

Public Member Functions

 DeltaRapGtr (const ParticleBase &vec, double drap)
 DeltaRapGtr (const FourMomentum &vec, double drap)
bool operator() (const ParticleBase &p) const

Public Attributes

FourMomentum refvec
double drapcut

Detailed Description

$ |\Delta y| $ (with respect to another momentum, vec) greater-than functor

Definition at line 199 of file ParticleBaseUtils.hh.


Constructor & Destructor Documentation

DeltaRapGtr ( const ParticleBase vec,
double  drap 
) [inline]

Definition at line 200 of file ParticleBaseUtils.hh.

      : refvec(vec.mom()), drapcut(drap) { }
DeltaRapGtr ( const FourMomentum vec,
double  drap 
) [inline]

Definition at line 202 of file ParticleBaseUtils.hh.

      : refvec(vec), drapcut(drap) { }

Member Function Documentation

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

Implements BoolParticleBaseFunctor.

Definition at line 204 of file ParticleBaseUtils.hh.

{ return std::abs(deltaRap(p, refvec)) > drapcut; }

Member Data Documentation

double drapcut

Definition at line 206 of file ParticleBaseUtils.hh.

Definition at line 205 of file ParticleBaseUtils.hh.


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