1 #ifndef L1Trigger_L1TTrackMatch_L1TkElectronEtComparator_HH
2 #define L1Trigger_L1TTrackMatch_L1TkElectronEtComparator_HH
5 namespace L1TkElectron {
11 double cosh_a_eta = cosh(a.
eta());
12 double cosh_b_eta = cosh(b.
eta());
15 et_a = a.
energy() / cosh_a_eta;
17 et_b = b.
energy() / cosh_b_eta;
bool operator()(const l1t::EGamma &a, const l1t::EGamma &b) const
double energy() const final
energy
double eta() const final
momentum pseudorapidity