1 #ifndef MatchLessByDEta_h_
2 #define MatchLessByDEta_h_
13 const C1&
c1,
const C2& c2) :
16 const std::pair<size_t,size_t>&
p2)
const {
19 const T1& p1_1 =
c1_[p1.first];
20 const T2& p1_2 =
c2_[p1.second];
21 const T1& p2_1 =
c1_[p2.first];
22 const T2& p2_2 =
c2_[p2.second];
23 if ( fabs(p1_1.eta()-p1_2.eta()) <
24 fabs(p2_1.eta()-p2_2.eta()) )
return true;
bool operator()(const std::pair< size_t, size_t > &p1, const std::pair< size_t, size_t > &p2) const
Container::value_type value_type
MatchLessByDEta(const edm::ParameterSet &cfg, const C1 &c1, const C2 &c2)