15 #include "boost/bind.hpp"
54 std::unique_ptr<RecoTauQualityCuts>
qcuts_;
88 typedef std::vector<reco::CandidatePtr>
CandPtrs;
98 typedef std::list<reco::CandidatePtr> CandPtrList;
99 typedef std::list<reco::CandidatePtr>::iterator CandPtrListIter;
101 cands.insert(
cands.end(), candsVector.begin(), candsVector.end());
103 while (!
cands.empty()) {
113 CandPtrListIter stripCand =
cands.begin();
114 while (stripCand !=
cands.end()) {
118 strip->addDaughter(*stripCand);
123 stripCand =
cands.erase(stripCand);
130 if (
strip->daughterPtr(0).isNonnull())
131 strip->setVertex(
strip->daughterPtr(0)->vertex());
154 std::unique_ptr<RecoTauPiZero> combinedStrips(
165 for (
auto const&
gamma :
first->daughterPtrVector()) {
166 combinedStrips->addDaughter(
gamma);
168 for (
auto const&
gamma :
second->daughterPtrVector()) {
169 combinedStrips->addDaughter(
gamma);
172 if (combinedStrips->daughterPtr(0).isNonnull())
173 combinedStrips->setVertex(combinedStrips->daughterPtr(0)->vertex());
175 stripCombinations.push_back(combinedStrips.get());