Skip to content

Commit

Permalink
scram build code-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
hatakeyamak committed Nov 21, 2019
1 parent c3e0b9d commit 2af5fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoParticleFlow/PFProducer/src/PFAlgo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1261,13 +1261,13 @@ void PFAlgo::createCandidatesHF(const reco::PFBlock& block,
// so all elements must be HF (or include tracks linked to HF clusters).
LogTrace("PFAlgo|createCandidatesHF") << "starting function PFAlgo::createCandidatesHF";

if (inds.trackIs.size() == 0)
if (inds.trackIs.empty())
assert(inds.hfEmIs.size() + inds.hfHadIs.size() == elements.size());

//
// Dealing with a block with at least one track
//
if (inds.trackIs.size()) {
if (!inds.trackIs.empty()) {
// sorted tracks associated with a HfHad cluster
std::multimap<double, unsigned> sortedTracks;
// HfEms associated with tracks linked to a HfHad cluster
Expand Down

0 comments on commit 2af5fe5

Please sign in to comment.