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))
22 for(
const auto& conf : cleanerConfs ) {
41 if( !pfcConf.
empty() ) {
47 if( !pConf.
empty() ) {
53 if( !cConf.
empty() ) {
60 produces<reco::PFClusterCollection>(
"initialClusters");
62 produces<reco::PFClusterCollection>();
82 std::vector<bool>
mask(rechits->size(),
true);
84 cleaner->clean(rechits,
mask);
89 std::vector<bool> seedable(rechits->size(),
false);
94 auto initialClusters = std::make_unique<reco::PFClusterCollection>();
101 auto pfClusters = std::make_unique<reco::PFClusterCollection>();
107 pfClusters->insert(pfClusters->end(),
108 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 &)
T get(const Candidate &c)