#include <PatternRecognitionbyCA.h>
Public Member Functions | |
void | energyRegressionAndID (const std::vector< reco::CaloCluster > &layerClusters, std::vector< Trackster > &result) |
void | makeTracksters (const PatternRecognitionAlgoBase::Inputs &input, std::vector< Trackster > &result) override |
PatternRecognitionbyCA (const edm::ParameterSet &conf, const CacheBase *cache) | |
~PatternRecognitionbyCA () override | |
Public Member Functions inherited from ticl::PatternRecognitionAlgoBase | |
PatternRecognitionAlgoBase (const edm::ParameterSet &conf, const CacheBase *cache) | |
virtual | ~PatternRecognitionAlgoBase () |
Private Attributes | |
const std::string | eidInputName_ |
const float | eidMinClusterEnergy_ |
const int | eidNClusters_ |
const int | eidNLayers_ |
const std::string | eidOutputNameEnergy_ |
const std::string | eidOutputNameId_ |
tensorflow::Session * | eidSession_ |
const float | max_delta_time_ |
const unsigned int | max_out_in_hops_ |
const int | min_clusters_per_ntuplet_ |
const float | min_cos_pointing_ |
const float | min_cos_theta_ |
const int | missing_layers_ |
const bool | out_in_dfs_ |
hgcal::RecHitTools | rhtools_ |
const std::unique_ptr< HGCGraph > | theGraph_ |
Static Private Attributes | |
static const int | eidNFeatures_ = 3 |
Additional Inherited Members | |
Public Types inherited from ticl::PatternRecognitionAlgoBase | |
enum | VerbosityLevel { None = 0, Basic, Advanced, Expert, Guru } |
Protected Attributes inherited from ticl::PatternRecognitionAlgoBase | |
int | algo_verbosity_ |
Definition at line 14 of file PatternRecognitionbyCA.h.
PatternRecognitionbyCA::PatternRecognitionbyCA | ( | const edm::ParameterSet & | conf, |
const CacheBase * | cache | ||
) |
Definition at line 14 of file PatternRecognitionbyCA.cc.
References utilities::cache(), tensorflow::createSession(), ticl::TrackstersCache::eidGraphDef, eidSession_, and Exception.
|
override |
Definition at line 40 of file PatternRecognitionbyCA.cc.
void PatternRecognitionbyCA::energyRegressionAndID | ( | const std::vector< reco::CaloCluster > & | layerClusters, |
std::vector< Trackster > & | result | ||
) |
Definition at line 120 of file PatternRecognitionbyCA.cc.
References a, b, data, eidInputName_, eidMinClusterEnergy_, eidNClusters_, eidNFeatures_, eidNLayers_, eidOutputNameEnergy_, eidOutputNameId_, eidSession_, HCALHighEnergyHPDFilter_cfi::energy, reco::CaloCluster::energy(), reco::CaloCluster::eta(), f, postprocess-scan-build::features, dqmMemoryStats::float, hgcal::RecHitTools::getLayerWithOffset(), reco::CaloCluster::hitsAndFractions(), mps_fire::i, input, createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, cmsLHEtoEOSManager::l, jets_cff::outputNames, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, AlCaHLTBitMon_ParallelJobs::p, reco::CaloCluster::phi(), rhtools_, tensorflow::run(), bphysicsOniaDQM_cfi::vertex, pwdgSkimBPark_cfi::vertices, and ticl::Trackster::vertices.
Referenced by makeTracksters().
|
overridevirtual |
Implements ticl::PatternRecognitionAlgoBase.
Definition at line 42 of file PatternRecognitionbyCA.cc.
References ticl::PatternRecognitionAlgoBase::Advanced, ticl::PatternRecognitionAlgoBase::algo_verbosity_, begin, filterCSVwithJSON::copy, HLT_2018_cff::doublets, end, energyRegressionAndID(), ticl::PatternRecognitionAlgoBase::Inputs::es, hgcal::RecHitTools::getEventSetup(), mps_fire::i, createfilelist::int, hgcal::RecHitTools::lastLayerFH(), ticl::PatternRecognitionAlgoBase::Inputs::layerClusters, ticl::PatternRecognitionAlgoBase::Inputs::layerClustersTime, LogDebug, ticl::PatternRecognitionAlgoBase::Inputs::mask, max_delta_time_, max_out_in_hops_, min_clusters_per_ntuplet_, min_cos_pointing_, min_cos_theta_, missing_layers_, ticl::constants::nEtaBins, ticl::PatternRecognitionAlgoBase::None, ticl::constants::nPhiBins, out_in_dfs_, ticl::PatternRecognitionAlgoBase::Inputs::regions, rhtools_, theGraph_, ticl::PatternRecognitionAlgoBase::Inputs::tiles, and createJobs::tmp.
|
private |
Definition at line 32 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 35 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 37 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
staticprivate |
Definition at line 42 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 36 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 33 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 34 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 40 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID(), and PatternRecognitionbyCA().
|
private |
Definition at line 31 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 26 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 30 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 28 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 27 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 29 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 25 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 39 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID(), and makeTracksters().
|
private |
Definition at line 24 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().