1 #ifndef CandUtils_makeCompositeCandidate_h
2 #define CandUtils_makeCompositeCandidate_h
14 cmp_->addDaughter( dau );
22 std::auto_ptr<reco::CompositeCandidate>
cmp_;
23 std::auto_ptr<reco::Candidate>
release() {
24 std::auto_ptr<reco::Candidate>
ret(
cmp_.get() );
35 cmp_->addDaughter( dau );
43 std::auto_ptr<reco::CompositePtrCandidate>
cmp_;
44 std::auto_ptr<reco::Candidate>
release() {
45 std::auto_ptr<reco::Candidate>
ret(
cmp_.get() );
76 const typename C::const_iterator &
end) {
79 for(
typename C::const_iterator
i = begin;
i !=
end; ++
i)
102 const typename C::const_iterator &
end) {
105 for(
typename C::const_iterator
i = begin;
i !=
end; ++
i)
void addDaughter(const reco::CandidatePtr &dau)
std::auto_ptr< reco::CompositeCandidate > cmp_
void addDaughter(const reco::Candidate &dau)
std::auto_ptr< reco::Candidate > operator[](const S &setup)
std::auto_ptr< reco::Candidate > operator[](const S &setup)
std::auto_ptr< reco::CompositePtrCandidate > cmp_
std::auto_ptr< reco::Candidate > release()
edm::RefToBase< Candidate > CandidateBaseRef
persistent reference to an object in a collection of Candidate objects
std::auto_ptr< reco::Candidate > release()
CompositeCandidateMaker(std::auto_ptr< reco::CompositeCandidate > cmp)
CompositePtrCandidateMaker(std::auto_ptr< reco::CompositePtrCandidate > cmp)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")