Class to encode layer ids for Kalman Filter Layers consitent with rough r-z track parameters are counted from 0 onwards. More...
#include <LayerEncoding.h>
Public Member Functions | |
LayerEncoding () | |
LayerEncoding (const DataFormats *dataFormats) | |
const std::vector< int > & | layerEncoding (int binEta, int binZT, int binCot) const |
const std::map< int, const tt::SensorModule * > & | layerEncodingMap (int binEta, int binZT, int binCot) const |
const int | layerIdKF (int binEta, int binZT, int binCot, int layerId) const |
const std::vector< int > & | maybeLayer (int binEta, int binZT, int binCot) const |
TTBV | maybePattern (int binEta, int binZT, int binCot) const |
~LayerEncoding () | |
Private Attributes | |
const DataFormat * | cot_ |
const DataFormats * | dataFormats_ |
std::vector< std::vector< std::vector< std::vector< int > > > > | layerEncoding_ |
std::vector< std::vector< std::vector< std::map< int, const tt::SensorModule * > > > > | layerEncodingMap_ |
std::vector< std::vector< std::vector< std::vector< int > > > > | maybeLayer_ |
const tt::Setup * | setup_ |
const DataFormat * | zT_ |
Class to encode layer ids for Kalman Filter Layers consitent with rough r-z track parameters are counted from 0 onwards.
Definition at line 19 of file LayerEncoding.h.
|
inline |
Definition at line 21 of file LayerEncoding.h.
trackerTFP::LayerEncoding::LayerEncoding | ( | const DataFormats * | dataFormats | ) |
Definition at line 15 of file LayerEncoding.cc.
References funct::abs(), trackerTFP::DataFormat::base(), trackerTFP::begin, tt::Setup::boundarieEta(), tt::Setup::chosenRofZ(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), trackerTFP::cot, cot_, ztail::d, dumpMFGeometry_cfg::delta, HLT_2024v10_cff::distance, alcaDQMUpload::encode(), trackerTFP::end, geometryDiff::file, spr::find(), trackerTFP::DataFormat::floating(), mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmiolumiharvest::j, MainPageGenerator::l, trackerTFP::layer, layerEncoding(), layerEncoding_, layerEncodingMap_, PostProcessor_cff::layerIds, hgcalTBTopologyTester_cfi::layers, visualization-live-secondInstance_cfg::m, maybeLayer(), maybeLayer_, edm_modernize_messagelogger::ml, tt::Setup::numLayers(), tt::Setup::numSectorsEta(), MillePedeFileConverter_cfg::out, funct::pow(), print(), tt::SensorModule::r(), tt::Setup::sensorModules(), setup_, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm(), contentValuesCheck::ss, trackerTFP::DataFormat::toSigned(), tier0::unique(), trackerTFP::DataFormat::width(), tt::SensorModule::z(), trackerTFP::zht, trackerTFP::zT, and zT_.
|
inline |
Definition at line 23 of file LayerEncoding.h.
|
inline |
Definition at line 25 of file LayerEncoding.h.
References layerEncoding_.
Referenced by LayerEncoding(), and hph::Setup::layerEncoding().
|
inline |
Definition at line 28 of file LayerEncoding.h.
References layerEncodingMap_.
Referenced by hph::Setup::layerEncodingMap().
const int trackerTFP::LayerEncoding::layerIdKF | ( | int | binEta, |
int | binZT, | ||
int | binCot, | ||
int | layerId | ||
) | const |
Definition at line 152 of file LayerEncoding.cc.
References HLT_2024v10_cff::distance, spr::find(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, trackerTFP::layer, layerEncoding_, hgcalTBTopologyTester_cfi::layers, tt::Setup::numLayers(), and setup_.
Referenced by trklet::DRin::produce(), and trackerTFP::ProducerKFin::produce().
|
inline |
Definition at line 32 of file LayerEncoding.h.
References maybeLayer_.
Referenced by LayerEncoding().
TTBV trackerTFP::LayerEncoding::maybePattern | ( | int | binEta, |
int | binZT, | ||
int | binCot | ||
) | const |
Definition at line 164 of file LayerEncoding.cc.
References HLT_2024v10_cff::distance, spr::find(), layerEncoding_, hgcalTBTopologyTester_cfi::layers, visualization-live-secondInstance_cfg::m, maybeLayer_, tt::Setup::numLayers(), and setup_.
Referenced by trklet::KFin::consume(), trklet::DRin::produce(), and trackerTFP::ProducerKFin::produce().
|
private |
Definition at line 48 of file LayerEncoding.h.
Referenced by LayerEncoding().
|
private |
Definition at line 44 of file LayerEncoding.h.
|
private |
Definition at line 50 of file LayerEncoding.h.
Referenced by LayerEncoding(), layerEncoding(), layerIdKF(), and maybePattern().
|
private |
Definition at line 51 of file LayerEncoding.h.
Referenced by LayerEncoding(), and layerEncodingMap().
|
private |
Definition at line 53 of file LayerEncoding.h.
Referenced by LayerEncoding(), maybeLayer(), and maybePattern().
|
private |
Definition at line 42 of file LayerEncoding.h.
Referenced by LayerEncoding(), layerIdKF(), maybePattern(), and upgradeWorkflowComponents.UpgradeWorkflow::setup().
|
private |
Definition at line 46 of file LayerEncoding.h.
Referenced by LayerEncoding().