12 StEtGridKey(
int ie,
int ip) : iEta(ie), iPhi(ip) {};
14 friend std::ostream& operator<<(std::ostream& os,
const StEtGridKey& key)
16 return os <<
"iEta:\t" << key.iEta <<
"\tiPhi:\t" << key.iPhi;
20 if (lhs.iEta < rhs.iEta)
return true;
21 else if (lhs.iEta > rhs.iEta)
return false;
22 else return lhs.iPhi < rhs.iPhi;
26 return !( lhs < rhs ) && !( rhs < lhs);
29 friend struct StEtGridKeyLessThan;
31 int eta()
const {
return iEta; }
32 int phi()
const {
return iPhi; }
40 #endif // STETGRIDKEY_H