6 #include <Math/VectorUtil.h>
17 using namespace ROOT::Math::VectorUtil;
33 for (reco::TrackCollection::const_iterator itrTr = (*trackCollection_).begin(); itrTr != (*trackCollection_).end();
36 double this_pt = (*itrTr).pt();
39 if (fabs((*itrTr).dz() - (*tmpTrack).dz()) >
lip_)
41 double dr =
DeltaR(tmpTrackMomentumAtVtx, tmpElectronMomentumAtVtx);
44 ptSum += this_pt * this_pt;
48 std::pair<int, double> retval;
50 retval.second = ptSum;