rivet is hosted by Hepforge, IPPP Durham
DeltaRGtr Struct Reference

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

#include <ParticleBaseUtils.hh>

List of all members.

Public Member Functions

 DeltaRGtr (const ParticleBase &vec, double dr, RapScheme scheme=PSEUDORAPIDITY)
 DeltaRGtr (const FourMomentum &vec, double dr, RapScheme scheme=PSEUDORAPIDITY)
 DeltaRGtr (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) greater-than functor

Definition at line 110 of file ParticleBaseUtils.hh.


Constructor & Destructor Documentation

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

Definition at line 111 of file ParticleBaseUtils.hh.

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

Definition at line 113 of file ParticleBaseUtils.hh.

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

Definition at line 115 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 117 of file ParticleBaseUtils.hh.

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

Member Data Documentation

double drcut

Definition at line 119 of file ParticleBaseUtils.hh.

Definition at line 120 of file ParticleBaseUtils.hh.

Definition at line 118 of file ParticleBaseUtils.hh.


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