CMS 3D CMS Logo

List of all members | Public Member Functions
trigger::EgammaObject::VarComparer Struct Reference

Public Member Functions

bool operator() (const std::string &lhs, const std::pair< std::string, float > &rhs) const
 
bool operator() (const std::pair< std::string, float > &lhs, const std::string &rhs) const
 

Detailed Description

Definition at line 44 of file EgammaObject.h.

Member Function Documentation

◆ operator()() [1/2]

bool trigger::EgammaObject::VarComparer::operator() ( const std::string &  lhs,
const std::pair< std::string, float > &  rhs 
) const
inline

Definition at line 45 of file EgammaObject.h.

45  {
46  return lhs < rhs.first;
47  }

◆ operator()() [2/2]

bool trigger::EgammaObject::VarComparer::operator() ( const std::pair< std::string, float > &  lhs,
const std::string &  rhs 
) const
inline

Definition at line 48 of file EgammaObject.h.

48  {
49  return lhs.first < rhs;
50  }