27 for(reco::TrackCollection::const_iterator
28 recTrack = recCollection->begin(); recTrack!= recCollection->end(); recTrack++)
30 double pt = recTrack->pt();
45 double eta1 = p->eta();
46 double phi1 = p->phi();
48 for(reco::TrackCollection::const_iterator
49 recTrack = recCollection->begin(); recTrack!= recCollection->end(); recTrack++)
51 double pt = recTrack->pt();
52 if ( (pt > ptCut) && ( fabs(eta1 - recTrack->eta()) < detaCut) && ( fabs(calcDphi(recTrack->phi(),phi1)) < 3.141592/2. ) )
72 double eta1 = p->eta();
73 double phi1 = p->phi();
77 for(reco::TrackCollection::const_iterator
78 recTrack = recCollection->begin(); recTrack!= recCollection->end(); recTrack++)
80 double pt = recTrack->pt();
81 double eta2 = recTrack->eta();
82 double phi2 = recTrack->phi();
84 if(dRDistance(eta1,phi1,eta2,phi2) >= 0.1 * x)
double getTxy(const reco::SuperClusterRef p, double x, double y)
int getNumAllTracks(double ptCut)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
int getNumLocalTracks(const reco::SuperClusterRef p, double detaCut, double ptCut)
TxyCalculator(const edm::Event &iEvent, const edm::EventSetup &iSetup, edm::InputTag trackLabel)