rivet is hosted by Hepforge, IPPP Durham
DeltaPhiGtr Struct Reference

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

#include <ParticleBaseUtils.hh>

List of all members.

Public Member Functions

 DeltaPhiGtr (const ParticleBase &vec, double dphi)
 DeltaPhiGtr (const FourMomentum &vec, double dphi)
 DeltaPhiGtr (const Vector3 &vec, double dphi)
bool operator() (const ParticleBase &p) const

Public Attributes

Vector3 refvec
double dphicut

Detailed Description

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

Definition at line 141 of file ParticleBaseUtils.hh.


Constructor & Destructor Documentation

DeltaPhiGtr ( const ParticleBase vec,
double  dphi 
) [inline]

Definition at line 142 of file ParticleBaseUtils.hh.

      : refvec(vec.p3()), dphicut(dphi) { }
DeltaPhiGtr ( const FourMomentum vec,
double  dphi 
) [inline]

Definition at line 144 of file ParticleBaseUtils.hh.

      : refvec(vec.p3()), dphicut(dphi) { }
DeltaPhiGtr ( const Vector3 vec,
double  dphi 
) [inline]

Definition at line 146 of file ParticleBaseUtils.hh.

      : refvec(vec), dphicut(dphi) { }

Member Function Documentation

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

Implements BoolParticleBaseFunctor.

Definition at line 148 of file ParticleBaseUtils.hh.

{ return deltaPhi(p, refvec) > dphicut; }

Member Data Documentation

double dphicut

Definition at line 150 of file ParticleBaseUtils.hh.

Definition at line 149 of file ParticleBaseUtils.hh.


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