rivet is hosted by Hepforge, IPPP Durham
DeltaRapLess Struct Reference

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

#include <ParticleBaseUtils.hh>

List of all members.

Public Member Functions

 DeltaRapLess (const ParticleBase &vec, double drap)
 DeltaRapLess (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) less-than functor

Definition at line 211 of file ParticleBaseUtils.hh.


Constructor & Destructor Documentation

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

Definition at line 212 of file ParticleBaseUtils.hh.

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

Definition at line 214 of file ParticleBaseUtils.hh.

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

Member Function Documentation

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

Implements BoolParticleBaseFunctor.

Definition at line 216 of file ParticleBaseUtils.hh.

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

Member Data Documentation

double drapcut

Definition at line 218 of file ParticleBaseUtils.hh.

Definition at line 217 of file ParticleBaseUtils.hh.


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