template<typename TColl, typename CColl, typename Selector = AnySelector, typename Conv = typename converter::helper::CandConverter<typename TColl::value_type>::type, typename Creator = typename converter::helper::CandCreator<CColl>::type, typename Init = typename ::reco::modules::EventSetupInit<Selector>::type>
class CandidateProducer< TColl, CColl, Selector, Conv, Creator, Init >
Framework module that produces a collection of candidates from generic compoment
- Author
- Luca Lista, INFN
- Version
- Revision
- 1.4
- Id
- CandidateProducer.h,v 1.4 2010/02/11 00:10:53 wmtan Exp
Definition at line 70 of file CandidateProducer.h.
template<typename TColl , typename CColl , typename Selector = AnySelector, typename Conv = typename converter::helper::CandConverter<typename TColl::value_type>::type, typename Creator = typename converter::helper::CandCreator<CColl>::type, typename Init = typename ::reco::modules::EventSetupInit<Selector>::type>
process one event
Definition at line 92 of file CandidateProducer.h.
References HLT_2018_cff::cands, beamerCreator::create(), edm::Event::getByToken(), training_settings::idx, helper::MasterCollection< C1 >::index(), init, volumeBasedMagneticField_1103l_cfi::master, eostools::move(), edm::Event::put(), findQualityFiles::size, and TrackRefitter_38T_cff::src.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
97 std::unique_ptr<CColl>
cands(
new CColl);
99 size_t size = src->size();
100 cands->reserve(size);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
def create(alignables, pedeDump, additionalData, outputFile, config)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Conv converter_
converter helper
Selector selector_
selector
edm::EDGetTokenT< TColl > srcToken_
label of source collection and tag
template<typename TColl , typename CColl , typename Selector = AnySelector, typename Conv = typename converter::helper::CandConverter<typename TColl::value_type>::type, typename Creator = typename converter::helper::CandCreator<CColl>::type, typename Init = typename ::reco::modules::EventSetupInit<Selector>::type>
template<typename TColl , typename CColl , typename Selector = AnySelector, typename Conv = typename converter::helper::CandConverter<typename TColl::value_type>::type, typename Creator = typename converter::helper::CandCreator<CColl>::type, typename Init = typename ::reco::modules::EventSetupInit<Selector>::type>