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 46 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 139 of file HLTJetsCleanedFromLeadingLeptons.h.

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

Returns pseudorapidity.

Definition at line 125 of file HLTJetsCleanedFromLeadingLeptons.h.

126 {
127  return etaValue;
128 }
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 146 of file HLTJetsCleanedFromLeadingLeptons.h.

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

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

Returns azimuthal angle.

Definition at line 132 of file HLTJetsCleanedFromLeadingLeptons.h.

Member Data Documentation

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

Pseudorapidity and azimuthal angle.

Definition at line 67 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 67 of file HLTJetsCleanedFromLeadingLeptons.h.