1 #ifndef CandUtils_makeNamedCompositeCandidate_h
2 #define CandUtils_makeNamedCompositeCandidate_h
20 std::unique_ptr<reco::NamedCompositeCandidate>
cmp_;
21 std::unique_ptr<reco::Candidate>
release() {
22 std::unique_ptr<reco::Candidate>
ret(
cmp_.get());
59 const typename C::const_iterator&
end,
60 const std::vector<std::string>::const_iterator sbegin,
61 const std::vector<std::string>::const_iterator send) {
64 std::vector<std::string>::const_iterator si = sbegin;
65 for (
typename C::const_iterator
i = begin;
i !=
end && si != send; ++
i, ++si)
66 cmp.addDaughter(*
i, *si);
93 const typename C::const_iterator& begin,
94 const typename C::const_iterator&
end,
95 const std::vector<std::string>::const_iterator sbegin,
96 const std::vector<std::string>::const_iterator send) {
99 std::vector<std::string>::const_iterator si = sbegin;
100 for (
typename C::const_iterator
i = begin;
i !=
end && si != send; ++
i, ++si)