Go to the documentation of this file.
42 double er = epos.
perp();
43 double curv = pTrk->rInv();
45 double dphi_curv = (asin(er * curv / (2.0)));
46 double trk_phi_ecal =
reco::deltaPhi(pTrk->momentum().phi(), dphi_curv);
60 double corr_eta = 999.0;
61 double er = epos.
perp();
63 double z0 = pTrk->POCA().z();
66 theta = atan(er / fabs(ez -
z0));
70 double deleta = (corr_eta - pTrk->momentum().eta());
double deltaPhi(const GlobalPoint &epos, const edm::Ptr< L1TTTrackType > &pTrk)
constexpr double deltaPhi(double phi1, double phi2)
std::vector< T >::const_iterator const_iterator
double deltaR(const GlobalPoint &epos, const edm::Ptr< L1TTTrackType > &pTrk)
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
void doMatch(BXVector< l1t::EGamma >::const_iterator egIter, const edm::Ptr< L1TTTrackType > &pTrk, double &dph, double &dr, double &deta)
Geom::Theta< T > theta() const
double deltaEta(const GlobalPoint &epos, const edm::Ptr< L1TTTrackType > &pTrk)
Tan< T >::type tan(const T &t)
constexpr float max_eb_eta
GlobalPoint calorimeterPosition(double phi, double eta, double e)
Geom::Phi< T > phi() const