Go to the documentation of this file.
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 buildElements(const edm::Event &)
PFBlockAlgo pfBlockAlgo_
Particle flow block algorithm.
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
const edm::EDPutTokenT< reco::PFBlockCollection > putToken_
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
const bool verbose_
verbose ?
#define DEFINE_FWK_MODULE(type)
PFBlockProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override
reco::PFBlockCollection findBlocks()
build blocks
void updateEventSetup(const edm::EventSetup &)
Producer for particle flow blocks.