rivet is hosted by Hepforge, IPPP Durham
DeltaEtaGtr Struct Reference

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

#include <ParticleBaseUtils.hh>

List of all members.

Public Member Functions

 DeltaEtaGtr (const ParticleBase &vec, double deta)
 DeltaEtaGtr (const FourMomentum &vec, double deta)
 DeltaEtaGtr (const Vector3 &vec, double deta)
bool operator() (const ParticleBase &p) const

Public Attributes

Vector3 refvec
double detacut

Detailed Description

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

Definition at line 170 of file ParticleBaseUtils.hh.


Constructor & Destructor Documentation

DeltaEtaGtr ( const ParticleBase vec,
double  deta 
) [inline]

Definition at line 171 of file ParticleBaseUtils.hh.

      : refvec(vec.p3()), detacut(deta) { }
DeltaEtaGtr ( const FourMomentum vec,
double  deta 
) [inline]

Definition at line 173 of file ParticleBaseUtils.hh.

      : refvec(vec.p3()), detacut(deta) { }
DeltaEtaGtr ( const Vector3 vec,
double  deta 
) [inline]

Definition at line 175 of file ParticleBaseUtils.hh.

      : refvec(vec), detacut(deta) { }

Member Function Documentation

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

Implements BoolParticleBaseFunctor.

Definition at line 177 of file ParticleBaseUtils.hh.

{ return std::abs(deltaEta(p, refvec)) > detacut; }

Member Data Documentation

double detacut

Definition at line 179 of file ParticleBaseUtils.hh.

Definition at line 178 of file ParticleBaseUtils.hh.


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