1 #ifndef CandAlgos_CandDecaySelector_h 2 #define CandAlgos_CandDecaySelector_h 22 for(
I i = begin;
i !=
end; ++
i )
34 auto cmp = std::make_unique<CompositeRefCandidate>(
c );
39 for(
size_t i = 0;
i <
n; ++
i )
43 std::unique_ptr<reco::CandidateCollection>
selCands_;
46 template<
typename EdmFilter>
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
CandDecayStoreManager type
ObjectSelectorBase< reco::CandidateCollection, EdmFilter > base
edm::OrphanHandle< reco::CandidateCollection > put(edm::Event &evt)
void cloneAndStore(const I &begin, const I &end, edm::Event &evt)
const std::complex< double > I
reco::CandidateRef add(reco::CandidateRefProd cands, const reco::Candidate &c)
RefProd< PROD > getRefBeforePut()
reco::CandidateCollection collection
CandDecayStoreManager(const edm::Handle< reco::CandidateCollection > &)
std::unique_ptr< reco::CandidateCollection > selCands_
edm::OwnVector< Candidate > CandidateCollection
collection of Candidate objects
virtual size_type numberOfDaughters() const =0
number of daughters