template<typename Selector, typename PairSelector = AnyPairSelector, typename Cloner = ::combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta, typename Init = typename ::reco::modules::EventSetupInit<Setup>::type>
class reco::modules::CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup, Init >
Definition at line 129 of file CandCombiner.h.
template<typename Selector , typename PairSelector = AnyPairSelector, typename Cloner = ::combiner::helpers::NormalClone, typename OutputCollection = reco::CompositeCandidateCollection, typename Setup = AddFourMomenta, typename Init = typename ::reco::modules::EventSetupInit<Setup>::type>
process an event
Definition at line 149 of file CandCombiner.h.
References alignCSCRings::e, edm::Event::getByToken(), mps_fire::i, reco::modules::CandCombinerBase::labels_, eostools::move(), dqmiodumpmetadata::n, submitPVResolutionJobs::out, reco::modules::CandCombinerBase::pdgId_, edm::Event::put(), reco::modules::CandCombinerBase::setLongLived_, reco::modules::CandCombinerBase::setMassConstraint_, reco::modules::CandCombinerBase::setPdgId_, and reco::modules::CandCombinerBase::tokens_.
152 std::vector<edm::Handle<CandidateView> > colls(n);
153 for (
int i = 0;
i <
n; ++
i)
158 typename OutputCollection::iterator i = out->begin(),
e = out->end();
159 for (; i !=
e; ++
i) {
164 i->setMassConstraint();
const std::vector< std::string > roles() const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
int pdgId_
which pdgId to set
void set(reco::CompositeCandidate &c) const
std::vector< edm::EDGetTokenT< CandidateView > > tokens_
bool setPdgId_
set pdgId flag
Init combinerInit_
combiner utility
bool setLongLived_
set long lived flag
std::vector< cand::parser::ConjInfo > labels_
label vector
::CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup > combiner_
bool setMassConstraint_
set mass constraint flag