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 148 of file CandCombiner.h.
References MillePedeFileConverter_cfg::e, edm::Event::getByToken(), mps_fire::i, init, eostools::move(), gen::n, MillePedeFileConverter_cfg::out, edm::Event::put(), and tokens_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
151 std::vector<edm::Handle<CandidateView> > colls(n);
152 for(
int i = 0;
i <
n; ++
i)
157 typename OutputCollection::iterator i = out->begin(),
e = out->end();
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
bool setLongLived_
set long lived flag
std::vector< cand::parser::ConjInfo > labels_
label vector
::CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup > combiner_
combiner utility
bool setMassConstraint_
set mass constraint flag