rivet is hosted by Hepforge, IPPP Durham
AbsDeltaEtaWRT Struct Reference

Calculator of $ |\Delta \eta| $ with respect to a given momentum. More...

#include <ParticleBaseUtils.hh>

List of all members.

Public Member Functions

 AbsDeltaEtaWRT (const ParticleBase &pb)
 AbsDeltaEtaWRT (const FourMomentum &p4)
 AbsDeltaEtaWRT (const Vector3 &p3)
double operator() (const ParticleBase &pb) const
double operator() (const FourMomentum &p4) const
double operator() (const Vector3 &p3) const

Public Attributes

const Vector3 p

Detailed Description

Calculator of $ |\Delta \eta| $ with respect to a given momentum.

Definition at line 274 of file ParticleBaseUtils.hh.


Constructor & Destructor Documentation

AbsDeltaEtaWRT ( const ParticleBase pb) [inline]

Definition at line 275 of file ParticleBaseUtils.hh.

: p(pb.mom().vector3()) {}
AbsDeltaEtaWRT ( const FourMomentum p4) [inline]

Definition at line 276 of file ParticleBaseUtils.hh.

: p(p4.vector3()) {}
AbsDeltaEtaWRT ( const Vector3 p3) [inline]

Definition at line 277 of file ParticleBaseUtils.hh.

: p(p3) {}

Member Function Documentation

double operator() ( const ParticleBase pb) const [inline, virtual]

Implements DoubleParticleBaseFunctor.

Definition at line 278 of file ParticleBaseUtils.hh.

{ return fabs(deltaEta(p, pb)); }
double operator() ( const FourMomentum p4) const [inline]

Definition at line 279 of file ParticleBaseUtils.hh.

{ return fabs(deltaEta(p, p4)); }
double operator() ( const Vector3 p3) const [inline]

Definition at line 280 of file ParticleBaseUtils.hh.

{ return fabs(deltaEta(p, p3)); }

Member Data Documentation

const Vector3 p

Definition at line 281 of file ParticleBaseUtils.hh.


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