rivet is hosted by Hepforge, IPPP Durham
DeltaRLess Struct Reference

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

#include <ParticleBaseUtils.hh>

List of all members.

Public Member Functions

 DeltaRLess (const ParticleBase &vec, double dr, RapScheme scheme=PSEUDORAPIDITY)
 DeltaRLess (const FourMomentum &vec, double dr, RapScheme scheme=PSEUDORAPIDITY)
 DeltaRLess (const Vector3 &vec, double dr)
bool operator() (const ParticleBase &p) const

Public Attributes

FourMomentum refvec
double drcut
RapScheme rapscheme

Detailed Description

$ \Delta R $ (with respect to another 4-momentum, vec) less-than functor

Definition at line 125 of file ParticleBaseUtils.hh.


Constructor & Destructor Documentation

DeltaRLess ( const ParticleBase vec,
double  dr,
RapScheme  scheme = PSEUDORAPIDITY 
) [inline]

Definition at line 126 of file ParticleBaseUtils.hh.

      : refvec(vec.mom()), drcut(dr), rapscheme(scheme) { }
DeltaRLess ( const FourMomentum vec,
double  dr,
RapScheme  scheme = PSEUDORAPIDITY 
) [inline]

Definition at line 128 of file ParticleBaseUtils.hh.

      : refvec(vec), drcut(dr), rapscheme(scheme) { }
DeltaRLess ( const Vector3 vec,
double  dr 
) [inline]

Definition at line 130 of file ParticleBaseUtils.hh.

      : drcut(dr), rapscheme(PSEUDORAPIDITY) { refvec.setPx(vec.x()); refvec.setPy(vec.y()); refvec.setPz(vec.z()); }

Member Function Documentation

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

Implements BoolParticleBaseFunctor.

Definition at line 132 of file ParticleBaseUtils.hh.

{ return deltaR(p, refvec, rapscheme) < drcut; }

Member Data Documentation

double drcut

Definition at line 134 of file ParticleBaseUtils.hh.

Definition at line 135 of file ParticleBaseUtils.hh.

Definition at line 133 of file ParticleBaseUtils.hh.


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