#include <PatternRecognitionbyCA.h>
Public Member Functions | |
void | emptyTrackstersFromSeedsTRK (std::vector< Trackster > &tracksters, std::unordered_map< int, std::vector< int >> &seedToTracksterAssociation, const edm::ProductID &collectionID) const |
void | energyRegressionAndID (const std::vector< reco::CaloCluster > &layerClusters, std::vector< Trackster > &result) |
void | makeTracksters (const PatternRecognitionAlgoBase::Inputs &input, std::vector< Trackster > &result, std::unordered_map< int, std::vector< int >> &seedToTracksterAssociation) 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 Member Functions | |
void | mergeTrackstersTRK (const std::vector< Trackster > &, const std::vector< reco::CaloCluster > &, std::vector< Trackster > &, std::unordered_map< int, std::vector< int >> &seedToTracksterAssociation) const |
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 | etaLimitIncreaseWindow_ |
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 | oneTracksterPerTrackSeed_ |
const bool | out_in_dfs_ |
const bool | promoteEmptyRegionToTrackster_ |
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 17 of file PatternRecognitionbyCA.cc.
References utilities::cache(), tensorflow::createSession(), ticl::TrackstersCache::eidGraphDef, eidSession_, and Exception.
|
override |
Definition at line 46 of file PatternRecognitionbyCA.cc.
void PatternRecognitionbyCA::emptyTrackstersFromSeedsTRK | ( | std::vector< Trackster > & | tracksters, |
std::unordered_map< int, std::vector< int >> & | seedToTracksterAssociation, | ||
const edm::ProductID & | collectionID | ||
) | const |
Definition at line 228 of file PatternRecognitionbyCA.cc.
References ticl::Trackster::charged_hadron, f, and OrderedSet::t.
Referenced by makeTracksters().
void PatternRecognitionbyCA::energyRegressionAndID | ( | const std::vector< reco::CaloCluster > & | layerClusters, |
std::vector< Trackster > & | result | ||
) |
Definition at line 245 of file PatternRecognitionbyCA.cc.
References a, funct::abs(), 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, reco::CaloCluster::phi(), rhtools_, tensorflow::run(), bphysicsOniaDQM_cfi::vertex, ticl::Trackster::vertex_multiplicity(), pwdgSkimBPark_cfi::vertices, and ticl::Trackster::vertices().
Referenced by makeTracksters().
|
overridevirtual |
Implements ticl::PatternRecognitionAlgoBase.
Definition at line 48 of file PatternRecognitionbyCA.cc.
References ticl::PatternRecognitionAlgoBase::Advanced, ticl::PatternRecognitionAlgoBase::algo_verbosity_, cms::cuda::assert(), ticl::assignPCAtoTracksters(), ticl::PatternRecognitionAlgoBase::Basic, begin, filterCSVwithJSON::copy, HLT_2018_cff::doublets, emptyTrackstersFromSeedsTRK(), end, energyRegressionAndID(), etaLimitIncreaseWindow_, hgcalsimclustertime::ComputeClusterTime::fixSizeHighestDensity(), hgcal::RecHitTools::getEventSetup(), hgcal::RecHitTools::getPositionLayer(), mps_fire::i, input, createfilelist::int, hgcal::RecHitTools::lastLayerEE(), hgcal::RecHitTools::lastLayerFH(), LogDebug, max_delta_time_, max_out_in_hops_, mergeTrackstersTRK(), min_clusters_per_ntuplet_, min_cos_pointing_, min_cos_theta_, missing_layers_, ticl::TileConstants::nEtaBins, ticl::PatternRecognitionAlgoBase::None, ticl::TileConstants::nPhiBins, oneTracksterPerTrackSeed_, out_in_dfs_, AlCaHLTBitMon_ParallelJobs::p, funct::pow(), promoteEmptyRegionToTrackster_, mps_fire::result, rhtools_, theGraph_, ntuplemaker::time, and createJobs::tmp.
|
private |
Definition at line 193 of file PatternRecognitionbyCA.cc.
References ticl::PatternRecognitionAlgoBase::algo_verbosity_, ticl::PatternRecognitionAlgoBase::Basic, begin, filterCSVwithJSON::copy, end, input, dqmiolumiharvest::j, LogDebug, and convertSQLitetoXML_cfg::output.
Referenced by makeTracksters().
|
private |
Definition at line 44 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 47 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 49 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
staticprivate |
Definition at line 54 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 48 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 45 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 46 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID().
|
private |
Definition at line 52 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID(), and PatternRecognitionbyCA().
|
private |
Definition at line 40 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 43 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 37 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 42 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 39 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 38 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 41 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 34 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 36 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 35 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().
|
private |
Definition at line 51 of file PatternRecognitionbyCA.h.
Referenced by energyRegressionAndID(), and makeTracksters().
|
private |
Definition at line 33 of file PatternRecognitionbyCA.h.
Referenced by makeTracksters().