#include <LinkingAlgoByDirectionGeometric.h>
Public Member Functions | |
void | initialize (const HGCalDDDConstants *hgcons, const hgcal::RecHitTools rhtools, const edm::ESHandle< MagneticField > bfieldH, const edm::ESHandle< Propagator > propH) override |
LinkingAlgoByDirectionGeometric (const edm::ParameterSet &conf) | |
void | linkTracksters (const edm::Handle< std::vector< reco::Track >>, const edm::Handle< edm::ValueMap< float >>, const edm::Handle< edm::ValueMap< float >>, const edm::Handle< edm::ValueMap< float >>, const std::vector< reco::Muon > &, const edm::Handle< std::vector< Trackster >>, const bool useMTDTiming, std::vector< TICLCandidate > &, std::vector< TICLCandidate > &) override |
~LinkingAlgoByDirectionGeometric () override | |
Public Member Functions inherited from ticl::LinkingAlgoBase | |
LinkingAlgoBase (const edm::ParameterSet &conf) | |
virtual | ~LinkingAlgoBase () |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from ticl::LinkingAlgoBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Types | |
using | Vector = ticl::Trackster::Vector |
Private Member Functions | |
void | buildLayers () |
void | dumpLinksFound (std::vector< std::vector< unsigned >> &resultCollection, const char *label) const |
void | findTrackstersInWindow (const std::vector< std::pair< Vector, unsigned >> &seedingCollection, const std::array< TICLLayerTile, 2 > &tracksterTiles, const std::vector< Vector > &tracksterPropPoints, float delta, unsigned trackstersSize, std::vector< std::vector< unsigned >> &resultCollection, bool useMask) |
Vector | propagateTrackster (const Trackster &t, const unsigned idx, float zVal, std::array< TICLLayerTile, 2 > &tracksterTiles) |
void | recordTrackster (const unsigned ts, const std::vector< Trackster > &tracksters, const edm::Handle< std::vector< Trackster >> tsH, std::vector< unsigned > &ts_mask, float &energy_in_candidate, TICLCandidate &candidate) |
bool | timeAndEnergyCompatible (float &total_raw_energy, const reco::Track &track, const Trackster &trackster, const float &tkTime, const float &tkTimeErr, const float &tkTimeQual, bool useMTDTiming) |
Private Attributes | |
edm::ESHandle< MagneticField > | bfield_ |
const StringCutObjectSelector< reco::Track > | cutTk_ |
const float | del_tk_ts_int_ |
const float | del_tk_ts_layer1_ |
const float | del_ts_em_had_ |
const float | del_ts_had_had_ |
std::unique_ptr< GeomDet > | firstDisk_ [2] |
const HGCalDDDConstants * | hgcons_ |
std::once_flag | initializeGeometry_ |
std::unique_ptr< GeomDet > | interfaceDisk_ [2] |
const float | maxDeltaT_ = 3.0f |
edm::ESHandle< Propagator > | propagator_ |
hgcal::RecHitTools | rhtools_ |
const float | timing_quality_threshold_ |
const float | tkEnergyCut_ = 2.0f |
Additional Inherited Members | |
Protected Attributes inherited from ticl::LinkingAlgoBase | |
int | algo_verbosity_ |
Definition at line 26 of file LinkingAlgoByDirectionGeometric.h.
|
private |
Definition at line 49 of file LinkingAlgoByDirectionGeometric.h.
LinkingAlgoByDirectionGeometric::LinkingAlgoByDirectionGeometric | ( | const edm::ParameterSet & | conf | ) |
Definition at line 17 of file LinkingAlgoByDirectionGeometric.cc.
|
override |
Definition at line 26 of file LinkingAlgoByDirectionGeometric.cc.
|
private |
Definition at line 207 of file LinkingAlgoByDirectionGeometric.cc.
References Disk::build(), firstDisk_, hgcal::RecHitTools::getPositionLayer(), hgcons_, interfaceDisk_, hgcal::RecHitTools::lastLayerEE(), HGCalDDDConstants::rangeR(), rhtools_, and HGCalDDDConstants::waferZ().
Referenced by initialize().
|
private |
Definition at line 188 of file LinkingAlgoByDirectionGeometric.cc.
References ticl::Advanced, ticl::LinkingAlgoBase::algo_verbosity_, mps_fire::i, dqmiolumiharvest::j, label, electronStore::links, and LogDebug.
Referenced by linkTracksters().
|
static |
Definition at line 570 of file LinkingAlgoByDirectionGeometric.cc.
References submitPVResolutionJobs::desc, ticl::LinkingAlgoBase::fillPSetDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 73 of file LinkingAlgoByDirectionGeometric.cc.
References funct::abs(), dumpMFGeometry_cfg::delta, egammaIdentification::eta_max, egammaIdentification::eta_min, mps_fire::i, dqmdumpme::indices, dqmiolumiharvest::j, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, SiStripPI::max, ticl::TileConstants::maxEta, SiStripPI::min, ticl::TileConstants::minEta, ticl::TileConstants::nPhiBins, VtxSmearedParameters_cfi::Phi, run3scouting_cff::seedId, and jetUpdater_cfi::sort.
Referenced by linkTracksters().
|
overridevirtual |
Implements ticl::LinkingAlgoBase.
Definition at line 28 of file LinkingAlgoByDirectionGeometric.cc.
References bfield_, buildLayers(), hgcons_, propagator_, and rhtools_.
|
overridevirtual |
Implements ticl::LinkingAlgoBase.
Definition at line 233 of file LinkingAlgoByDirectionGeometric.cc.
References funct::abs(), TICLCandidate::addTrackster(), ticl::Advanced, ticl::LinkingAlgoBase::algo_verbosity_, bfield_, cutTk_, del_tk_ts_int_, del_tk_ts_layer1_, del_ts_em_had_, del_ts_had_had_, dumpLinksFound(), relativeConstraints::empty, ntuplemaker::fill, findTrackstersInWindow(), firstDisk_, hgcal::RecHitTools::getPositionLayer(), hgcons_, mps_fire::i, createfilelist::int, interfaceDisk_, hgcal::RecHitTools::lastLayerEE(), LogDebug, ticl::mpion2, PFMuonAlgo::muAssocToTrack(), DiMuonV_cfg::muons, or, trajectoryStateTransform::outerFreeState(), edm::ESHandle< T >::product(), Propagator::propagate(), propagateTrackster(), recordTrackster(), rhtools_, TICLCandidate::setTrackPtr(), mathSSE::sqrt(), submitPVValidationJobs::t, timeAndEnergyCompatible(), tkEnergyCut_, DiMuonV_cfg::tracks, TICLCandidate::tracksters(), pfTICL_cfi::useMTDTiming, and HGCalDDDConstants::waferZ().
|
private |
Definition at line 40 of file LinkingAlgoByDirectionGeometric.cc.
References ntuplemaker::fill, heavyIonCSV_trainingSettings::idx, and submitPVValidationJobs::t.
Referenced by linkTracksters().
|
private |
Definition at line 175 of file LinkingAlgoByDirectionGeometric.cc.
References TICLCandidate::addTrackster().
Referenced by linkTracksters().
|
private |
Definition at line 136 of file LinkingAlgoByDirectionGeometric.cc.
References funct::abs(), ticl::Advanced, ticl::LinkingAlgoBase::algo_verbosity_, LogDebug, maxDeltaT_, SiStripPI::min, or, ticl::Trackster::raw_energy(), mathSSE::sqrt(), DiMuonV_cfg::threshold, ticl::Trackster::time(), ticl::Trackster::timeError(), timing_quality_threshold_, HLT_2024v13_cff::track, and pfTICL_cfi::useMTDTiming.
Referenced by linkTracksters().
|
private |
Definition at line 102 of file LinkingAlgoByDirectionGeometric.h.
Referenced by initialize(), and linkTracksters().
|
private |
Definition at line 92 of file LinkingAlgoByDirectionGeometric.h.
Referenced by linkTracksters().
|
private |
Definition at line 86 of file LinkingAlgoByDirectionGeometric.h.
Referenced by linkTracksters().
|
private |
Definition at line 85 of file LinkingAlgoByDirectionGeometric.h.
Referenced by linkTracksters().
|
private |
Definition at line 87 of file LinkingAlgoByDirectionGeometric.h.
Referenced by linkTracksters().
|
private |
Definition at line 88 of file LinkingAlgoByDirectionGeometric.h.
Referenced by linkTracksters().
|
private |
Definition at line 97 of file LinkingAlgoByDirectionGeometric.h.
Referenced by buildLayers(), and linkTracksters().
|
private |
Definition at line 95 of file LinkingAlgoByDirectionGeometric.h.
Referenced by buildLayers(), initialize(), and linkTracksters().
|
private |
Definition at line 93 of file LinkingAlgoByDirectionGeometric.h.
|
private |
Definition at line 98 of file LinkingAlgoByDirectionGeometric.h.
Referenced by buildLayers(), and linkTracksters().
|
private |
Definition at line 84 of file LinkingAlgoByDirectionGeometric.h.
Referenced by timeAndEnergyCompatible().
|
private |
Definition at line 103 of file LinkingAlgoByDirectionGeometric.h.
Referenced by initialize().
|
private |
Definition at line 100 of file LinkingAlgoByDirectionGeometric.h.
Referenced by buildLayers(), initialize(), and linkTracksters().
|
private |
Definition at line 90 of file LinkingAlgoByDirectionGeometric.h.
Referenced by timeAndEnergyCompatible().
|
private |
Definition at line 83 of file LinkingAlgoByDirectionGeometric.h.
Referenced by linkTracksters().