CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE Class Reference

An auxiliary class to store momentum parametrised in eta, phi, and energy. More...

Public Member Functions

double e () const
 Returns energy. More...
 
double eta () const
 Returns pseudorapidity. More...
 
 EtaPhiE (double eta, double phi, double e)
 Constructor. More...
 
bool operator< (EtaPhiE const &rhs) const
 A comparison operator to sort a collection of objects of this type. More...
 
double phi () const
 Returns azimuthal angle. More...
 

Private Attributes

double etaValue
 Pseudorapidity and azimuthal angle. More...
 
double eValue
 Energy. More...
 
double phiValue
 

Detailed Description

template<typename JetType>
class HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE

An auxiliary class to store momentum parametrised in eta, phi, and energy.

It is useful to deal with muons and ECAL superclusters on a common basis.

Definition at line 45 of file HLTJetsCleanedFromLeadingLeptons.h.

Constructor & Destructor Documentation

template<typename JetType >
HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::EtaPhiE ( double  eta,
double  phi,
double  e 
)

Member Function Documentation

template<typename JetType >
double HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::e ( ) const
template<typename JetType >
double HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::eta ( void  ) const

Returns pseudorapidity.

Definition at line 117 of file HLTJetsCleanedFromLeadingLeptons.h.

References HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::etaValue.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

117  {
118  return etaValue;
119 }
double etaValue
Pseudorapidity and azimuthal angle.
template<typename JetType >
bool HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::operator< ( EtaPhiE const &  rhs) const

A comparison operator to sort a collection of objects of this type.

Definition at line 132 of file HLTJetsCleanedFromLeadingLeptons.h.

References HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::eValue.

132  {
133  return (eValue < rhs.eValue);
134 }
template<typename JetType >
double HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::phi ( void  ) const

Member Data Documentation

template<typename JetType >
double HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::etaValue
private

Pseudorapidity and azimuthal angle.

Definition at line 65 of file HLTJetsCleanedFromLeadingLeptons.h.

Referenced by HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::eta().

template<typename JetType >
double HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::eValue
private
template<typename JetType >
double HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::phiValue
private