48 const std::vector<std::string> flagnames = ps.
getParameter<std::vector<std::string> >(
"RecHitFlagToBeExcluded");
50 const std::vector<int> flagsexcl = StringToEnumValue<EcalRecHit::Flags>(flagnames);
52 const std::vector<std::string> severitynames =
53 ps.
getParameter<std::vector<std::string> >(
"RecHitSeverityToBeExcluded");
55 const std::vector<int> severitiesexcl = StringToEnumValue<EcalSeverityLevel::SeverityLevel>(severitynames);
93 edm::LogError(
"MissingProduct") <<
"could not get a handle on the EcalRecHitCollection!";
103 std::unique_ptr<const CaloSubdetectorTopology>
topology;
109 topology = std::make_unique<EcalBarrelTopology>(*geoHandle);
114 hit_collection, geometry_p, basicClusters, sevLv.
product(),
false, std::vector<RectangularEtaPhiRegion>());
116 LogTrace(
"EcalClusters") <<
"Finished clustering - BasicClusterCollection returned to producer...";
119 auto basicclusters_p = std::make_unique<reco::BasicClusterCollection>();
120 basicclusters_p->assign(basicClusters.begin(), basicClusters.end());
125 LogTrace(
"EcalClusters") <<
"Basic Clusters now put into event.";
131 edm::LogError(
"Missing Product") <<
"could not get a handle on the BasicClusterCollection!";
137 LogTrace(
"EcalClusters") <<
"Got the BasicClusterCollection" << std::endl;
140 for (
unsigned int i = 0;
i < clusterCollection.size();
i++) {
147 auto superclusters_p = std::make_unique<reco::SuperClusterCollection>();
151 LogTrace(
"EcalClusters") <<
"Hybrid Clusters (Basic/Super) added to the Event! :-)";