4 #define LOGVERB(x) edm::LogVerbatim(x) 5 #define LOGWARN(x) edm::LogWarning(x) 6 #define LOGERR(x) edm::LogError(x) 7 #define LOGDRESSED(x) edm::LogInfo(x) 9 #define LOGVERB(x) LogTrace(x) 10 #define LOGWARN(x) edm::LogWarning(x) 11 #define LOGERR(x) edm::LogError(x) 12 #define LOGDRESSED(x) LogDebug(x) 16 : _prodInitClusters(conf.getUntrackedParameter<
bool>(
"prodInitialClusters",
false)) {
20 for (
const auto& conf : cleanerConfs) {
36 if (!pfcConf.
empty()) {
54 produces<reco::PFClusterCollection>(
"initialClusters");
56 produces<reco::PFClusterCollection>();
77 std::vector<bool> mask(rechits->size(),
true);
79 cleaner->clean(rechits, mask);
82 std::vector<bool> seedable(rechits->size(),
false);
85 auto initialClusters = std::make_unique<reco::PFClusterCollection>();
89 auto pfClusters = std::make_unique<reco::PFClusterCollection>();
95 pfClusters->insert(pfClusters->end(), initialClusters->begin(), initialClusters->end());
std::unique_ptr< SeedFinderBase > _seedFinder
T getParameter(std::string const &) const
std::unique_ptr< PFClusterEnergyCorrectorBase > _energyCorrector
VParameterSet const & getParameterSetVector(std::string const &name) const
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
std::vector< ParameterSet > VParameterSet
std::unique_ptr< PFClusterBuilderBase > _pfClusterBuilder
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
std::unique_ptr< PFCPositionCalculatorBase > _positionReCalc
std::vector< std::unique_ptr< RecHitTopologicalCleanerBase > > _cleaners
const bool _prodInitClusters
edm::EDGetTokenT< reco::PFRecHitCollection > _rechitsLabel
std::unique_ptr< InitialClusteringStepBase > _initialClustering
void produce(edm::Event &, const edm::EventSetup &) override
ParameterSet const & getParameterSet(std::string const &) const
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
PFClusterProducer(const edm::ParameterSet &)