53 std::unique_ptr<RecoTauQualityCuts>
qcuts_;
87 typedef std::vector<reco::CandidatePtr>
CandPtrs;
97 typedef std::list<reco::CandidatePtr> CandPtrList;
98 typedef std::list<reco::CandidatePtr>::iterator CandPtrListIter;
100 cands.insert(
cands.end(), candsVector.begin(), candsVector.end());
102 while (!
cands.empty()) {
112 CandPtrListIter stripCand =
cands.begin();
113 while (stripCand !=
cands.end()) {
117 strip->addDaughter(*stripCand);
122 stripCand =
cands.erase(stripCand);
129 if (
strip->daughterPtr(0).isNonnull())
130 strip->setVertex(
strip->daughterPtr(0)->vertex());
138 output.sort(
output.begin(),
output.end(), [&](
auto& arg1,
auto& arg2) {
return arg1.pt() > arg2.pt(); });
152 std::unique_ptr<RecoTauPiZero> combinedStrips(
163 for (
auto const&
gamma :
first->daughterPtrVector()) {
164 combinedStrips->addDaughter(
gamma);
166 for (
auto const&
gamma :
second->daughterPtrVector()) {
167 combinedStrips->addDaughter(
gamma);
170 if (combinedStrips->daughterPtr(0).isNonnull())
171 combinedStrips->setVertex(combinedStrips->daughterPtr(0)->vertex());
173 stripCombinations.push_back(combinedStrips.get());