44 : verbose_{iConfig.
getUntrackedParameter<
bool>(
"verbose",
false)}, putToken_{produces<reco::PFBlockCollection>()} {
45 bool debug_ = iConfig.getUntrackedParameter<
bool>(
"debug",
false);
46 pfBlockAlgo_.setDebug(debug_);
49 const std::vector<edm::ParameterSet>& importers = iConfig.getParameterSetVector(
"elementImporters");
50 pfBlockAlgo_.setImporters(importers, cc);
52 const std::vector<edm::ParameterSet>& linkdefs = iConfig.getParameterSetVector(
"linkDefinitions");
53 pfBlockAlgo_.setLinkers(linkdefs);
68 str <<
"number of blocks : " <<
blocks.size() << endl;
75 LogInfo(
"PFBlockProducer") <<
str.str() << endl;
void produce(edm::Event &, const edm::EventSetup &) override
const edm::EDPutTokenT< reco::PFBlockCollection > putToken_
#define DEFINE_FWK_MODULE(type)
PFBlockProducer(const edm::ParameterSet &)
T getUntrackedParameter(std::string const &, T const &) const
PFBlockAlgo pfBlockAlgo_
Particle flow block algorithm.
void updateEventSetup(const edm::EventSetup &)
const bool verbose_
verbose ?
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Log< level::Info, false > LogInfo
reco::PFBlockCollection findBlocks()
build blocks
Producer for particle flow blocks.
void buildElements(const edm::Event &)