12 #include <Math/VectorUtil.h> 34 beamPoint_(beamPoint) {
51 double tmpElectronEtaAtVertex = (*tmpTrack).eta();
53 for (reco::TrackCollection::const_iterator itrTr = (*trackCollection_).begin(); itrTr != (*trackCollection_).end();
55 double this_pt = (*itrTr).pt();
62 dzCut = fabs((*itrTr).dz() - (*tmpTrack).dz());
65 dzCut = fabs((*itrTr).vz() - (*tmpTrack).vz());
74 dzCut = fabs((*itrTr).vz() - (*tmpTrack).vz());
82 double deta = (*itrTr).eta() - tmpElectronEtaAtVertex;
93 std::pair<int, double> retval;
95 retval.second = ptSum;
std::vector< Track > TrackCollection
collection of Tracks
ElectronTkIsolation(double extRadius, double intRadius, double ptLow, double lip, double drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint)
TrackAlgorithm originalAlgo() const
bool passAlgo(const reco::TrackBase &trk) const
void setDzOption(const std::string &s)
Abs< T >::type abs(const T &t)
const Point & vertex() const
reference point on the track. This method is DEPRECATED, please use referencePoint() instead ...
std::vector< int > algosToReject_
math::XYZPoint Point
point in the space
TrackAlgorithm algo() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
int getNumberTracks(const reco::GsfElectron *) const
static std::atomic< unsigned int > counter
std::pair< int, double > getIso(const reco::GsfElectron *) const
reco::TrackBase::Point beamPoint_
double getPtTracks(const reco::GsfElectron *) const