32 const unsigned corrections_size = 2;
35 <<
"HGCalTriggerClusterInterpretationEM::scale_correction_coeff parameter has size: " 40 <<
"HGCalTriggerClusterInterpretationEM::layer_containment_corrs and " 41 "HGCalTriggerClusterInterpretationEM::dr_bylayer have different size!";
50 for (
unsigned int idx = 0;
idx != multiclusters.
size();
idx++) {
59 double dr = (cluster3d_position - cluster2d.second->centreProj()).
mag();
HGCalTriggerClusterInterpretationEM()
T getParameter(std::string const &) const
void initialize(const edm::ParameterSet &conf) final
const std::unordered_map< uint32_t, edm::Ptr< C > > & constituents() const
~HGCalTriggerClusterInterpretationEM() override
#define DEFINE_HGC_TPG_CLUSTER_INTERPRETER(type, name)
std::vector< double > scale_corrections_coeff_
unsigned size(int bx) const
std::vector< double > dr_bylayer_
HGCalTriggerTools triggerTools_
Abs< T >::type abs(const T &t)
void setGeometry(const HGCalTriggerGeometryBase *const) final
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
void saveEnergyInterpretation(const HGCalMulticluster::EnergyInterpretation eInt, double energy)
std::vector< double > layer_containment_corrs_
const GlobalPoint & centreProj() const
void interpret(l1t::HGCalMulticlusterBxCollection &multiclusters) const final
double eta() const final
momentum pseudorapidity