#include <HGCalHistoSeedingImpl.h>
Classes | |
struct | Bin |
class | HistogramT |
class | Navigator |
Public Member Functions | |
float | dR (const l1t::HGCalCluster &clu, const GlobalPoint &seed) const |
void | eventSetup (const edm::EventSetup &es) |
void | findHistoSeeds (const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, std::vector< std::pair< GlobalPoint, double >> &seedPositionsEnergy) |
HGCalHistoSeedingImpl (const edm::ParameterSet &conf) | |
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 | |
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_ |
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 BinCentre, binsSumsHisto_, HGCalHistoSeedingImpl::Navigator::Bounded, HGCalHistoSeedingImpl::Navigator::Circular, Exception, edm::ParameterSet::getParameter(), HistoInterpolatedMaxC3d, HistoMaxC3d, HistoSecondaryMaxC3d, histoThreshold_, HistoThresholdC3d, navigator_, nBins1_, nBins2_, neighbour_weights_, neighbour_weights_size_, RPhi, seedingAlgoType_, seedingPosition_, seedingSpace_, seedingType_, AlCaHLTBitMon_QueryRunRegistry::string, TCWeighted, and XY.
|
private |
Definition at line 555 of file HGCalHistoSeedingImpl.cc.
References kROverZMax_, kROverZMin_, kXYMax_, M_PI, RPhi, seedingSpace_, and XY.
Referenced by fillHistoClusters(), and setSeedEnergyAndPosition().
|
private |
Definition at line 326 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 267 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 407 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), histoThreshold_, nBins1_, nBins2_, or, setSeedEnergyAndPosition(), and Sum.
Referenced by findHistoSeeds().
|
private |
Definition at line 387 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 |
|
inline |
Definition at line 111 of file HGCalHistoSeedingImpl.h.
References HGCalTriggerTools::eventSetup(), and triggerTools_.
|
private |
Definition at line 69 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 120 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), newFWLiteAna::bin, Skims_PA_cff::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 162 of file HGCalHistoSeedingImpl.cc.
References custom_jme_cff::area, area_per_triggercell_, HGCalHistoSeedingImpl::HistogramT< T >::at(), newFWLiteAna::bin, hgcalBackEndLayer2Producer_cfi::binSums, Skims_PA_cff::content, kROverZMax_, kROverZMin_, M_PI, nBins1_, nBins2_, funct::pow(), and Sum.
Referenced by findHistoSeeds().
|
private |
Definition at line 209 of file HGCalHistoSeedingImpl.cc.
References HGCalHistoSeedingImpl::HistogramT< T >::at(), newFWLiteAna::bin, Skims_PA_cff::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 518 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.
|
private |
Definition at line 234 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().
|
staticconstexprprivate |
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 165 of file HGCalHistoSeedingImpl.h.
Referenced by boundaries(), and fillSmoothPhiHistoClusters().
|
private |
Definition at line 164 of file HGCalHistoSeedingImpl.h.
Referenced by boundaries(), and fillSmoothPhiHistoClusters().
|
staticconstexprprivate |
Definition at line 167 of file HGCalHistoSeedingImpl.h.
Referenced by boundaries().
|
private |
Definition at line 161 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().
|
staticconstexprprivate |
Definition at line 163 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 157 of file HGCalHistoSeedingImpl.h.
Referenced by findHistoSeeds().
|
private |
Definition at line 158 of file HGCalHistoSeedingImpl.h.
Referenced by findHistoSeeds().
|
private |
Definition at line 160 of file HGCalHistoSeedingImpl.h.
Referenced by eventSetup(), and fillHistoClusters().