Go to the documentation of this file.
53 double er = epos.
perp();
54 double curv = pTrk->rInv();
56 double dphi_curv = (asin(er * curv / (2.0)));
57 double trk_phi_ecal =
reco::deltaPhi(pTrk->momentum().phi(), dphi_curv);
65 double er = epos.
perp();
66 double et = egIter->et();
67 double pt = pTrk->momentum().perp();
68 double curv = pTrk->rInv();
70 double dphi_curv = (asin(er * curv *
pt / (2.0 *
et)));
71 double trk_phi_ecal =
reco::deltaPhi(pTrk->momentum().phi(), dphi_curv);
85 double corr_eta = 999.0;
86 double er = epos.
perp();
88 double z0 = pTrk->POCA().z();
91 theta = atan(er / fabs(ez -
z0));
95 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 doMatchClusterET(BXVector< l1t::EGamma >::const_iterator egIter, const edm::Ptr< L1TTTrackType > &pTrk, double &dph, double &dr, double &deta)
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)
double deltaPhiClusterET(BXVector< l1t::EGamma >::const_iterator egIter, const edm::Ptr< L1TTTrackType > &pTrk)
Geom::Phi< T > phi() const