1 #ifndef CandUtils_makeCompositeCandidate_h
2 #define CandUtils_makeCompositeCandidate_h
8 struct CompositeCandidateMaker {
13 cmp_->addDaughter( dau );
21 std::auto_ptr<reco::CompositeCandidate>
cmp_;
22 std::auto_ptr<reco::Candidate>
release() {
23 std::auto_ptr<reco::Candidate>
ret(
cmp_.get() );
54 const typename C::const_iterator &
end ) {
57 for(
typename C::const_iterator
i = begin;
i !=
end; ++
i )
80 const typename C::const_iterator &
end ) {
83 for(
typename C::const_iterator
i = begin;
i !=
end; ++
i )
std::auto_ptr< reco::CompositeCandidate > cmp_
void addDaughter(const reco::Candidate &dau)
std::auto_ptr< reco::Candidate > operator[](const S &setup)
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)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")