42 if (verbosityString ==
"DEBUG")
44 else if (verbosityString ==
"WARNING")
46 else if (verbosityString ==
"INFO")
63 double barrelSeedThreshold = ps.
getParameter<
double>(
"BarrelSeedThr");
64 double barrelSingleThreshold = ps.
getParameter<
double>(
"BarrelSingleThr");
65 double barrelSecondThreshold = ps.
getParameter<
double>(
"BarrelSecondThr");
66 double barrelSupThreshold = ps.
getParameter<
double>(
"BarrelSupThr");
67 double endcapSeedThreshold = ps.
getParameter<
double>(
"EndcapSeedThr");
68 double endcapSingleThreshold = ps.
getParameter<
double>(
"EndcapSingleThr");
69 double endcapSecondThreshold = ps.
getParameter<
double>(
"EndcapSecondThr");
70 double endcapSupThreshold = ps.
getParameter<
double>(
"EndcapSupThr");
95 barrelSingleThreshold,
96 barrelSecondThreshold,
99 endcapSingleThreshold,
100 endcapSecondThreshold,
151 std::unique_ptr<CaloSubdetectorTopology> topology_p;
156 topology_p = std::make_unique<EcalBarrelTopology>(*geoHandle);
159 topology_p = std::make_unique<EcalEndcapTopology>(*geoHandle);
168 island_p->
makeClusters(hitCollection_p, uhitCollection_p, geometry_p, topology_p.get(), geometryES_p, ecalPart);
171 std::vector<reco::ClusterShape> ClusVec;
173 for (
int erg = 0; erg <
int(
clusters.size()); ++erg) {
175 ClusVec.push_back(TestShape);
179 auto clustersshapes_p = std::make_unique<reco::ClusterShapeCollection>();
180 clustersshapes_p->assign(ClusVec.begin(), ClusVec.end());
188 auto clusters_p = std::make_unique<reco::BasicClusterCollection>();
198 auto shapeAssocs_p = std::make_unique<reco::BasicClusterShapeAssociationCollection>(bccHandle, clusHandle);
200 for (
unsigned int i = 0;
i < clusHandle->size();
i++) {
204 evt.
put(
std::move(shapeAssocs_p), clusterShapeAssociation);