#include <HGCalHistoSeedingImpl.h>
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 | |
typedef std::map< std::array< int, 3 >, float > | Histogram |
enum | SeedingType { HistoMaxC3d, HistoSecondaryMaxC3d, HistoThresholdC3d, HistoInterpolatedMaxC3d } |
Private Member Functions | |
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 | fillSmoothPhiHistoClusters (const Histogram &histoClusters, const vector< unsigned > &binSums) |
Histogram | fillSmoothRPhiHistoClusters (const Histogram &histoClusters) |
Private Attributes | |
std::vector< unsigned > | binsSumsHisto_ |
double | histoThreshold_ = 20. |
unsigned | nBinsPhiHisto_ = 216 |
unsigned | nBinsRHisto_ = 36 |
std::vector< double > | neighbour_weights_ |
std::string | seedingAlgoType_ |
SeedingType | seedingType_ |
HGCalTriggerTools | triggerTools_ |
Static Private Attributes | |
static double | kROverZMax_ = 0.52 |
static double | kROverZMin_ = 0.09 |
static unsigned | neighbour_weights_size_ = 9 |
Definition at line 14 of file HGCalHistoSeedingImpl.h.
|
private |
Definition at line 28 of file HGCalHistoSeedingImpl.h.
|
private |
Enumerator | |
---|---|
HistoMaxC3d | |
HistoSecondaryMaxC3d | |
HistoThresholdC3d | |
HistoInterpolatedMaxC3d |
Definition at line 26 of file HGCalHistoSeedingImpl.h.
HGCalHistoSeedingImpl::HGCalHistoSeedingImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 6 of file HGCalHistoSeedingImpl.cc.
References binsSumsHisto_, Exception, HistoInterpolatedMaxC3d, HistoMaxC3d, HistoSecondaryMaxC3d, histoThreshold_, HistoThresholdC3d, nBinsPhiHisto_, nBinsRHisto_, neighbour_weights_, neighbour_weights_size_, seedingAlgoType_, and seedingType_.
|
private |
Definition at line 174 of file HGCalHistoSeedingImpl.cc.
References funct::cos(), histoThreshold_, createfilelist::int, kROverZMax_, kROverZMin_, M_PI, nBinsPhiHisto_, nBinsRHisto_, neighbour_weights_, and funct::sin().
Referenced by findHistoSeeds().
|
private |
Definition at line 129 of file HGCalHistoSeedingImpl.cc.
References funct::cos(), histoThreshold_, createfilelist::int, kROverZMax_, kROverZMin_, M_PI, nBinsPhiHisto_, nBinsRHisto_, and funct::sin().
Referenced by findHistoSeeds().
|
private |
Definition at line 245 of file HGCalHistoSeedingImpl.cc.
References funct::cos(), histoThreshold_, createfilelist::int, kROverZMax_, kROverZMin_, M_PI, nBinsPhiHisto_, nBinsRHisto_, or, and funct::sin().
Referenced by findHistoSeeds().
|
private |
Definition at line 221 of file HGCalHistoSeedingImpl.cc.
References funct::cos(), histoThreshold_, createfilelist::int, kROverZMax_, kROverZMin_, M_PI, nBinsPhiHisto_, nBinsRHisto_, and funct::sin().
Referenced by findHistoSeeds().
float HGCalHistoSeedingImpl::dR | ( | const l1t::HGCalCluster & | clu, |
const GlobalPoint & | seed | ||
) | const |
Referenced by eventSetup().
|
inline |
Definition at line 18 of file HGCalHistoSeedingImpl.h.
References dR(), HGCalTriggerTools::eventSetup(), findHistoSeeds(), SurveyInfoScenario_cff::seed, and triggerTools_.
|
private |
Definition at line 44 of file HGCalHistoSeedingImpl.cc.
References createfilelist::int, kROverZMax_, kROverZMin_, M_PI, nBinsPhiHisto_, nBinsRHisto_, funct::pow(), reco::reduceRange(), mathSSE::sqrt(), triggerTools_, and HGCalTriggerTools::zside().
Referenced by findHistoSeeds().
|
private |
Definition at line 67 of file HGCalHistoSeedingImpl.cc.
References custom_jme_cff::area, ws_sso_content_reader::content, createfilelist::int, kROverZMax_, kROverZMin_, nBinsPhiHisto_, nBinsRHisto_, and funct::pow().
Referenced by findHistoSeeds().
|
private |
Definition at line 107 of file HGCalHistoSeedingImpl.cc.
References ws_sso_content_reader::content, createfilelist::int, nBinsPhiHisto_, and nBinsRHisto_.
Referenced by findHistoSeeds().
void HGCalHistoSeedingImpl::findHistoSeeds | ( | const std::vector< edm::Ptr< l1t::HGCalCluster >> & | clustersPtr, |
std::vector< std::pair< GlobalPoint, double >> & | seedPositionsEnergy | ||
) |
Definition at line 363 of file HGCalHistoSeedingImpl.cc.
References binsSumsHisto_, computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), fillHistoClusters(), fillSmoothPhiHistoClusters(), fillSmoothRPhiHistoClusters(), HistoInterpolatedMaxC3d, HistoMaxC3d, HistoSecondaryMaxC3d, HistoThresholdC3d, and seedingType_.
Referenced by eventSetup().
|
private |
Definition at line 49 of file HGCalHistoSeedingImpl.h.
Referenced by findHistoSeeds(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 50 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), and HGCalHistoSeedingImpl().
|
staticprivate |
Definition at line 57 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), fillHistoClusters(), and fillSmoothPhiHistoClusters().
|
staticprivate |
Definition at line 56 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), fillHistoClusters(), and fillSmoothPhiHistoClusters().
|
private |
Definition at line 48 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), fillHistoClusters(), fillSmoothPhiHistoClusters(), fillSmoothRPhiHistoClusters(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 47 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), computeMaxSeeds(), computeSecondaryMaxSeeds(), computeThresholdSeeds(), fillHistoClusters(), fillSmoothPhiHistoClusters(), fillSmoothRPhiHistoClusters(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 51 of file HGCalHistoSeedingImpl.h.
Referenced by computeInterpolatedMaxSeeds(), and HGCalHistoSeedingImpl().
|
staticprivate |
Definition at line 55 of file HGCalHistoSeedingImpl.h.
Referenced by HGCalHistoSeedingImpl().
|
private |
Definition at line 44 of file HGCalHistoSeedingImpl.h.
Referenced by HGCalHistoSeedingImpl().
|
private |
Definition at line 45 of file HGCalHistoSeedingImpl.h.
Referenced by findHistoSeeds(), and HGCalHistoSeedingImpl().
|
private |
Definition at line 53 of file HGCalHistoSeedingImpl.h.
Referenced by eventSetup(), and fillHistoClusters().