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) {
63 std::vector<std::string>::const_iterator si = sbegin;
64 for (
typename C::const_iterator
i = begin;
i !=
end && si != send; ++
i, ++si)
65 cmp.addDaughter(*
i, *si);
92 const typename C::const_iterator& begin,
93 const typename C::const_iterator&
end,
94 const std::vector<std::string>::const_iterator sbegin,
95 const std::vector<std::string>::const_iterator send) {
97 std::vector<std::string>::const_iterator si = sbegin;
98 for (
typename C::const_iterator
i = begin;
i !=
end && si != send; ++
i, ++si)