Skip to content

Commit

Permalink
Merge pull request #7 from jhgoh/PseudoTopFix76
Browse files Browse the repository at this point in the history
Bugfix PseudoTop
  • Loading branch information
jhgoh committed Feb 10, 2016
2 parents bdf51b2 + ee42031 commit c68d865
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TopQuarkAnalysis/TopEventProducers/src/PseudoTopProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ void PseudoTopProducer::produce(edm::Event& event, const edm::EventSetup& eventS
bool hasBHadron = false;
for ( size_t j=0, m=fjConstituents.size(); j<m; ++j ) {
const size_t index = fjConstituents[j].user_index();
if ( bHadronIdxs.find(index) != bHadronIdxs.end() ) hasBHadron = true;
if ( bHadronIdxs.find(index) != bHadronIdxs.end() ) {
hasBHadron = true;
continue;
}
reco::CandidatePtr cand = finalStateHandle->ptrAt(index);
constituents.push_back(cand);
}
Expand Down

0 comments on commit c68d865

Please sign in to comment.