Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify elementLoop flow, add comments #27901

Merged
merged 1 commit into from
Sep 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions RecoParticleFlow/PFProducer/interface/PFAlgo.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,18 @@ class PFAlgo {
private:
void egammaFilters(const reco::PFBlockRef& blockref, std::vector<bool>& active, PFEGammaFilters const* pfegamma);
void conversionAlgo(const edm::OwnVector<reco::PFBlockElement>& elements, std::vector<bool>& active);
bool checkAndReconstructSecondaryInteraction(const reco::PFBlockRef& blockref,
const edm::OwnVector<reco::PFBlockElement>& elements,
bool isActive,
int iElement);
bool checkHasDeadHcal(const std::multimap<double, unsigned>& hcalElems, const std::vector<bool>& deadArea);
void relinkTrackToHcal(const reco::PFBlock& block,
std::multimap<double, unsigned>& ecalElems,
std::multimap<double, unsigned>& hcalElems,
const std::vector<bool>& active,
reco::PFBlock::LinkData& linkData,
unsigned int iTrack);
bool checkGoodTrackDeadHcal(const reco::TrackRef& trackRef, bool hasDeadHcal);
void elementLoop(const reco::PFBlock& block,
reco::PFBlock::LinkData& linkData,
const edm::OwnVector<reco::PFBlockElement>& elements,
Expand Down