8 putToken_{produces<reco::PFBlockCollection>()}
11 iConfig.getUntrackedParameter<
bool>(
"debug",
false);
15 const std::vector<edm::ParameterSet>& importers
16 = iConfig.getParameterSetVector(
"elementImporters");
19 const std::vector<edm::ParameterSet>& linkdefs
20 = iConfig.getParameterSetVector(
"linkDefinitions");
47 str<<
"number of blocks : "<<
blocks.size()<<endl;
54 LogInfo(
"PFBlockProducer") << str.str()<<endl;
T getUntrackedParameter(std::string const &, T const &) const
void produce(edm::Event &, const edm::EventSetup &) override
const edm::EDPutTokenT< reco::PFBlockCollection > putToken_
PFBlockProducer(const edm::ParameterSet &)
PFBlockAlgo pfBlockAlgo_
Particle flow block algorithm.
void setDebug(bool debug)
sets debug printout flag
void updateEventSetup(const edm::EventSetup &)
void setImporters(const std::vector< edm::ParameterSet > &, edm::ConsumesCollector &)
~PFBlockProducer() override
const bool verbose_
verbose ?
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
reco::PFBlockCollection findBlocks()
build blocks
void buildElements(const edm::Event &)
void setLinkers(const std::vector< edm::ParameterSet > &)