14 electronsToken_(iC.consumes<
std::vector<
reco::GsfElectron> >(
edm::
InputTag(
"pixelMatchGsfElectrons"))) {}
23 CLHEP::HepLorentzVector theElectronHLV(theElectron.
px(), theElectron.
py(), theElectron.
pz(), theElectron.
energy());
29 CLHEP::HepLorentzVector theMuonHLV(theMuon.
px(), theMuon.
py(), theMuon.
pz(), theMuon.
energy());
45 std::vector<reco::GsfElectron>
electrons = *electronsHandle;
47 std::vector<Electron> isoElectrons;
48 for (
size_t ie = 0; ie <
electrons.size(); ie++) {
55 std::vector<reco::CaloJet> theJets;
56 for (reco::CaloJetCollection::const_iterator itJet = jetColl.begin(); itJet != jetColl.end(); itJet++) {
58 for (
size_t ie = 0; ie < isoElectrons.size(); ie++) {
59 float dr2 =
::deltaR2(*itJet, isoElectrons[ie]);
65 if (itJet->et() > 15 &&
mindr > 0.3)
69 float isoAngle = 1000;
70 for (std::vector<reco::CaloJet>::const_iterator itJet = theJets.begin(); itJet != theJets.end(); itJet++) {
71 float curDR = this->
spaceAngle(aLepton, *itJet);