1 #ifndef CandUtils_makeNamedCompositeCandidate_h 2 #define CandUtils_makeNamedCompositeCandidate_h 14 cmp_->addDaughter( dau, name );
22 std::auto_ptr<reco::NamedCompositeCandidate>
cmp_;
23 std::auto_ptr<reco::Candidate>
release() {
24 std::auto_ptr<reco::Candidate> ret( cmp_.get() );
55 const typename C::const_iterator &
end,
56 const std::vector<std::string>::const_iterator sbegin,
57 const std::vector<std::string>::const_iterator send ) {
60 std::vector<std::string>::const_iterator si = sbegin;
61 for(
typename C::const_iterator
i = begin;
i != end && si != send; ++
i, ++si )
84 const typename C::const_iterator &
end,
85 const std::vector<std::string>::const_iterator sbegin,
86 const std::vector<std::string>::const_iterator send ) {
89 std::vector<std::string>::const_iterator si = sbegin;
90 for(
typename C::const_iterator
i = begin;
i != end && si != send; ++
i, ++ si )
NamedCompositeCandidateMaker(std::auto_ptr< reco::NamedCompositeCandidate > cmp)
void addDaughter(const reco::Candidate &dau, std::string name)
def setup(process, global_tag, zero_tesla=False)
std::auto_ptr< reco::Candidate > operator[](const S &setup)
helpers::NamedCompositeCandidateMaker makeNamedCompositeCandidate(const reco::Candidate &c1, std::string s1, const reco::Candidate &c2, std::string s2)
helpers::NamedCompositeCandidateMaker makeNamedCompositeCandidateWithRefsToMaster(const reco::CandidateRef &c1, std::string s1, const reco::CandidateRef &c2, std::string s2)
edm::RefToBase< Candidate > CandidateBaseRef
persistent reference to an object in a collection of Candidate objects
std::auto_ptr< reco::NamedCompositeCandidate > cmp_
std::auto_ptr< reco::Candidate > release()