Skip to content

Commit

Permalink
Removing .Vect()
Browse files Browse the repository at this point in the history
  • Loading branch information
vukasinmilosevic committed Jun 8, 2017
1 parent 43c34d2 commit 4112231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoTauTag/HLTProducers/interface/L1TJetsMatching.h
Expand Up @@ -176,7 +176,7 @@ class L1TJetsMatching: public edm::global::EDProducer<> {
for(unsigned int iL1Jet = 0; iL1Jet < jetCandRefVec.size(); iL1Jet++){
// Find the relative L2pfJets, to see if it has been reconstructed
// if ((iJet<3) && (iL1Jet==0)) std::cout<<myJet.p4().Pt()<<" ";
if ((reco::deltaR2(myJet.p4().Vect(), (jetCandRefVec[iL1Jet]->p4()).Vect()) < matchingR2_ ) && (myJet.pt()>pt2Min_)) {
if ((reco::deltaR2(myJet.p4(), jetCandRefVec[iL1Jet]->p4()) < matchingR2_ ) && (myJet.pt()>pt2Min_)) {
pfMatchedJets->push_back(myJet);
break;
}
Expand Down

0 comments on commit 4112231

Please sign in to comment.