#include <HGCalHistoSeedingImpl.h>
Classes | |
struct | Bin |
class | HistogramT |
class | Navigator |
Public Member Functions | |
float | dR (const l1t::HGCalCluster &clu, const GlobalPoint &seed) const |
void | findHistoSeeds (const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, std::vector< std::pair< GlobalPoint, double >> &seedPositionsEnergy) |
HGCalHistoSeedingImpl (const edm::ParameterSet &conf) | |
void | setGeometry (const HGCalTriggerGeometryBase *const geom) |
Private Types | |
using | Histogram = HistogramT< Bin > |
enum | SeedingPosition { BinCentre, TCWeighted } |
enum | SeedingSpace { RPhi, XY } |
enum | SeedingType { HistoMaxC3d, HistoSecondaryMaxC3d, HistoThresholdC3d, HistoInterpolatedMaxC3d } |
Private Member Functions | |
std::array< double, 4 > | boundaries () |
std::vector< std::pair< GlobalPoint, double > > | computeInterpolatedMaxSeeds (const Histogram &histoClusters) |
std::vector< std::pair< GlobalPoint, double > > | computeMaxSeeds (const Histogram &histoClusters) |
std::vector< std::pair< GlobalPoint, double > > | computeSecondaryMaxSeeds (const Histogram &histoClusters) |
std::vector< std::pair< GlobalPoint, double > > | computeThresholdSeeds (const Histogram &histoClusters) |
Histogram | fillHistoClusters (const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtrs) |
Histogram | fillSmoothHistoClusters (const Histogram &, const vector< double > &, Bin::Content) |
Histogram | fillSmoothPhiHistoClusters (const Histogram &histoClusters, const vector< unsigned > &binSums) |
Histogram | fillSmoothRPhiHistoClusters (const Histogram &histoClusters) |
void | setSeedEnergyAndPosition (std::vector< std::pair< GlobalPoint, double >> &seedPositionsEnergy, int z_side, unsigned bin_R, unsigned bin_phi, const Bin &histBin) |
Private Attributes | |
float | area_10pct_ |
std::vector< unsigned > | binsSumsHisto_ |
double | histoThreshold_ = 20. |
const double | kROverZMax_ = 0.58 |
const double | kROverZMin_ = 0.076 |
Navigator | navigator_ |
unsigned | nBins1_ = 42 |
unsigned | nBins2_ = 216 |
std::vector< double > | neighbour_weights_ |
std::string | seedingAlgoType_ |
SeedingPosition | seedingPosition_ |
SeedingSpace | seedingSpace_ |
SeedingType | seedingType_ |
bool | seeds_norm_by_area_ |
std::vector< double > | smoothing_ecal_ |
std::vector< double > | smoothing_hcal_ |
HGCalTriggerTools | triggerTools_ |
Static Private Attributes | |
static constexpr double | area_per_triggercell_ |
static constexpr double | kXYMax_ = 0.6 |
static constexpr unsigned | neighbour_weights_size_ = 9 |
Definition at line 14 of file HGCalHistoSeedingImpl.h.
|
private |
Definition at line 58 of file HGCalHistoSeedingImpl.h.
|
private |
|
private |
|
private |
Enumerator | |
---|---|
HistoMaxC3d | |
HistoSecondaryMaxC3d | |
HistoThresholdC3d | |
HistoInterpolatedMaxC3d |
Definition at line 119 of file HGCalHistoSeedingImpl.h.
HGCalHistoSeedingImpl::HGCalHistoSeedingImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 7 of file HGCalHistoSeedingImpl.cc.
References area_10pct_, BinCentre, binsSumsHisto_, HGCalHistoSeedingImpl::Navigator::Bounded, HGCalHistoSeedingImpl::Navigator::Circular, Exception, edm::ParameterSet::getParameter(), HistoInterpolatedMaxC3d, HistoMaxC3d, HistoSecondaryMaxC3d, histoThreshold_, HistoThresholdC3d, kROverZMax_, kROverZMin_, M_PI, navigator_, nBins1_, nBins2_, neighbour_weights_, neighbour_weights_size_, funct::pow(), RPhi, seedingAlgoType_, seedingPosition_, seedingSpace_, seedingType_, AlCaHLTBitMon_QueryRunRegistry::string, TCWeighted, and XY.
|
private |
Definition at line 568 of file HGCalHistoSeedingImpl.cc.
References kROverZMax_, kROverZMin_, kXYMax_, M_PI, RPhi, seedingSpace_, and XY.
Referenced by fillHistoClusters(), and setSeedEnergyAndPosition().
|
private |
Definition at line 339 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), histoThreshold_, HGCalHistoSeedingImpl::Navigator::move(), navigator_, nBins1_, nBins2_, neighbour_weights_, HGCalHistoSeedingImpl::Navigator::setHome(), setSeedEnergyAndPosition(), and Sum.
Referenced by findHistoSeeds().
|
private |
Definition at line 280 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), histoThreshold_, HGCalHistoSeedingImpl::Navigator::move(), navigator_, nBins1_, nBins2_, HGCalHistoSeedingImpl::Navigator::setHome(), setSeedEnergyAndPosition(), and Sum.
Referenced by findHistoSeeds().
|
private |
Definition at line 420 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), histoThreshold_, nBins1_, nBins2_, or, setSeedEnergyAndPosition(), and Sum.
Referenced by findHistoSeeds().
|
private |
Definition at line 400 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), histoThreshold_, nBins1_, nBins2_, setSeedEnergyAndPosition(), and Sum.
Referenced by findHistoSeeds().
float HGCalHistoSeedingImpl::dR | ( | const l1t::HGCalCluster & | clu, |
const GlobalPoint & | seed | ||
) | const |
|
private |
Definition at line 81 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), newFWLiteAna::bin, boundaries(), Exception, HGCalTriggerTools::isEm(), nBins1_, nBins2_, funct::pow(), reco::reduceRange(), RPhi, seedingSpace_, mathSSE::sqrt(), Sum, triggerTools_, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, XY, and HGCalTriggerTools::zside().
Referenced by findHistoSeeds().
|
private |
Definition at line 132 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), newFWLiteAna::bin, submitPVResolutionJobs::content, Exception, HGCalHistoSeedingImpl::Navigator::move(), navigator_, nBins1_, nBins2_, PostProcessor_cff::normalization, MillePedeFileConverter_cfg::out, HGCalHistoSeedingImpl::Navigator::setHome(), mathSSE::sqrt(), testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.
Referenced by findHistoSeeds().
|
private |
Definition at line 174 of file HGCalHistoSeedingImpl.cc.
References custom_jme_cff::area, area_10pct_, area_per_triggercell_, HGCalHistoSeedingImpl::HistogramT< T >::at(), newFWLiteAna::bin, l1tHGCalBackEndLayer2Producer_cfi::binSums, submitPVResolutionJobs::content, kROverZMax_, kROverZMin_, M_PI, nBins1_, nBins2_, funct::pow(), seeds_norm_by_area_, and Sum.
Referenced by findHistoSeeds().
|
private |
Definition at line 222 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), newFWLiteAna::bin, submitPVResolutionJobs::content, nBins1_, nBins2_, and Sum.
Referenced by findHistoSeeds().
void HGCalHistoSeedingImpl::findHistoSeeds | ( | const std::vector< edm::Ptr< l1t::HGCalCluster >> & | clustersPtr, |
std::vector< std::pair< GlobalPoint, double >> & | seedPositionsEnergy | ||
) |
Definition at line 531 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), newFWLiteAna::bin, binsSumsHisto_, computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), fillHistoClusters(), fillSmoothHistoClusters(), fillSmoothPhiHistoClusters(), fillSmoothRPhiHistoClusters(), HistoInterpolatedMaxC3d, HistoMaxC3d, HistoSecondaryMaxC3d, HistoThresholdC3d, nBins1_, nBins2_, RPhi, seedingSpace_, seedingType_, smoothing_ecal_, smoothing_hcal_, Sum, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, and XY.
|
inline |
Definition at line 111 of file HGCalHistoSeedingImpl.h.
References relativeConstraints::geom, HGCalTriggerTools::setGeometry(), and triggerTools_.
|
private |
Definition at line 247 of file HGCalHistoSeedingImpl.cc.
References BinCentre, boundaries(), funct::cos(), nBins1_, nBins2_, RPhi, seedingPosition_, seedingSpace_, funct::sin(), Sum, TCWeighted, HGCalHistoSeedingImpl::Bin::values, HGCalHistoSeedingImpl::Bin::weighted_x, HGCalHistoSeedingImpl::Bin::weighted_y, and XY.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), and computeThresholdSeeds().
|
private |
Definition at line 161 of file HGCalHistoSeedingImpl.h.
Referenced by fillSmoothPhiHistoClusters(), and HGCalHistoSeedingImpl().
|
staticprivate |
Definition at line 154 of file HGCalHistoSeedingImpl.h.
Referenced by fillSmoothPhiHistoClusters().
|
private |
Definition at line 152 of file HGCalHistoSeedingImpl.h.
Referenced by findHistoSeeds(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 153 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 168 of file HGCalHistoSeedingImpl.h.
Referenced by boundaries(), fillSmoothPhiHistoClusters(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 167 of file HGCalHistoSeedingImpl.h.
Referenced by boundaries(), fillSmoothPhiHistoClusters(), and HGCalHistoSeedingImpl().
|
staticprivate |
Definition at line 170 of file HGCalHistoSeedingImpl.h.
Referenced by boundaries().
|
private |
Definition at line 164 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), fillSmoothHistoClusters(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 150 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), fillHistoClusters(), fillSmoothHistoClusters(), fillSmoothPhiHistoClusters(), fillSmoothRPhiHistoClusters(), findHistoSeeds(), HGCalHistoSeedingImpl(), and setSeedEnergyAndPosition().
|
private |
Definition at line 151 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), fillHistoClusters(), fillSmoothHistoClusters(), fillSmoothPhiHistoClusters(), fillSmoothRPhiHistoClusters(), findHistoSeeds(), HGCalHistoSeedingImpl(), and setSeedEnergyAndPosition().
|
private |
Definition at line 156 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), and HGCalHistoSeedingImpl().
|
staticprivate |
Definition at line 166 of file HGCalHistoSeedingImpl.h.
Referenced by HGCalHistoSeedingImpl().
|
private |
Definition at line 145 of file HGCalHistoSeedingImpl.h.
Referenced by HGCalHistoSeedingImpl().
|
private |
Definition at line 148 of file HGCalHistoSeedingImpl.h.
Referenced by HGCalHistoSeedingImpl(), and setSeedEnergyAndPosition().
|
private |
Definition at line 147 of file HGCalHistoSeedingImpl.h.
Referenced by boundaries(), fillHistoClusters(), findHistoSeeds(), HGCalHistoSeedingImpl(), and setSeedEnergyAndPosition().
|
private |
Definition at line 146 of file HGCalHistoSeedingImpl.h.
Referenced by findHistoSeeds(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 159 of file HGCalHistoSeedingImpl.h.
Referenced by fillSmoothPhiHistoClusters().
|
private |
Definition at line 157 of file HGCalHistoSeedingImpl.h.
Referenced by findHistoSeeds().
|
private |
Definition at line 158 of file HGCalHistoSeedingImpl.h.
Referenced by findHistoSeeds().
|
private |
Definition at line 163 of file HGCalHistoSeedingImpl.h.
Referenced by fillHistoClusters(), and setGeometry().