Skip to content

Commit

Permalink
code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrenguyen committed May 1, 2023
1 parent ffb45d6 commit 2fa5275
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RecoParticleFlow/PFProducer/plugins/PFLinker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ void PFLinker::produce(edm::Event& iEvent, const edm::EventSetup& iSetup) {
edm::Ptr<reco::PFCandidate> candPtr(pfCandidates, i);
reco::PFCandidate cand(candPtr);

if(!(cand.energy()>0) ) continue;
if (!(cand.energy() > 0))
continue;

bool isphoton = cand.particleId() == reco::PFCandidate::gamma && cand.mva_nothing_gamma() > 0.;
bool iselectron = cand.particleId() == reco::PFCandidate::e;
Expand Down

0 comments on commit 2fa5275

Please sign in to comment.