Go to the documentation of this file.
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!";
48 for (
unsigned int idx = 0;
idx != multiclusters.
size();
idx++) {
57 double dr = (cluster3d_position - cluster2d.second->centreProj()).
mag();
void interpret(l1t::HGCalMulticlusterBxCollection &multiclusters) const final
#define DEFINE_HGC_TPG_CLUSTER_INTERPRETER(type, name)
void eventSetup(const edm::EventSetup &es) final
void initialize(const edm::ParameterSet &conf) final
HGCalTriggerClusterInterpretationEM()
~HGCalTriggerClusterInterpretationEM() override
std::vector< double > scale_corrections_coeff_
std::vector< double > dr_bylayer_
void saveEnergyInterpretation(const HGCalMulticluster::EnergyInterpretation eInt, double energy)
const std::unordered_map< uint32_t, edm::Ptr< C > > & constituents() const
double eta() const final
momentum pseudorapidity
HGCalTriggerTools triggerTools_
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
T getParameter(std::string const &) const
std::vector< double > layer_containment_corrs_
unsigned size(int bx) const
const GlobalPoint & centreProj() const
Abs< T >::type abs(const T &t)