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) {
25 if (conf.
exists(
"seedCleaners")) {
28 for (
const auto& conf : seedcleanerConfs) {
46 if (!pfcConf.
empty()) {
64 produces<reco::PFClusterCollection>(
"initialClusters");
66 produces<reco::PFClusterCollection>();
91 std::vector<bool> mask(
rechits->size(),
true);
97 std::vector<bool> seedmask = mask;
99 cleaner->clean(
rechits, seedmask);
102 std::vector<bool> seedable(
rechits->size(),
false);
105 auto initialClusters = std::make_unique<reco::PFClusterCollection>();
109 auto pfClusters = std::make_unique<reco::PFClusterCollection>();
115 pfClusters->insert(pfClusters->end(), initialClusters->begin(), initialClusters->end());
127 e.put(
std::move(initialClusters),
"initialClusters");