CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 48 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

Returns energy.

Definition at line 141 of file HLTJetsCleanedFromLeadingLeptons.h.

142 {
143  return eValue;
144 }
template<typename JetType >
double HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::eta ( void  ) const

Returns pseudorapidity.

Definition at line 127 of file HLTJetsCleanedFromLeadingLeptons.h.

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

128 {
129  return etaValue;
130 }
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 148 of file HLTJetsCleanedFromLeadingLeptons.h.

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

149 {
150  return (eValue < rhs.eValue);
151 }
template<typename JetType >
double HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE::phi ( void  ) const

Returns azimuthal angle.

Definition at line 134 of file HLTJetsCleanedFromLeadingLeptons.h.

Referenced by Particle.Particle::__str__().

Member Data Documentation

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

Pseudorapidity and azimuthal angle.

Definition at line 69 of file HLTJetsCleanedFromLeadingLeptons.h.

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

Definition at line 69 of file HLTJetsCleanedFromLeadingLeptons.h.