1 #ifndef CandAlgos_CandDecaySelector_h
2 #define CandAlgos_CandDecaySelector_h
20 for (
I i = begin;
i !=
end; ++
i)
30 auto cmp = std::make_unique<CompositeRefCandidate>(
c);
35 for (
size_t i = 0;
i <
n; ++
i)
39 std::unique_ptr<reco::CandidateCollection>
selCands_;
42 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) ...
const edm::EventSetup & c
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)
virtual size_type numberOfDaughters() const =0
number of daughters
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