2 #include <unordered_map>
3 #include <unordered_set>
9 : calibSF_(conf.getParameter<double>(
"calibSF_cluster")),
10 layerWeights_(conf.getParameter<
std::
vector<double>>(
"layerWeights")),
11 applyLayerWeights_(conf.getParameter<
bool>(
"applyLayerCalibration")) {
18 std::vector<l1t::HGCalCluster> clustersTmp;
20 tc != triggerCellsPtrs.end();
22 clustersTmp.emplace_back(*tc);
26 clusters.resize(0, clustersTmp.size());
27 for (
unsigned i(0);
i < clustersTmp.size(); ++
i) {
41 <<
"2D cluster energy forced to 0 by calibration coefficients.\n"
42 <<
"The configuration should be changed. "
43 <<
"Discarded layers should be defined in hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedLayers "
44 "and not with calibration coefficients = 0\n";
55 cluster.
setPt(calibPt);