Class to encode layer ids used between DTC and TFP in Hybrid. More...
#include <LayerEncoding.h>
Public Member Functions | |
int | decode (tt::SensorModule *sm) const |
LayerEncoding () | |
LayerEncoding (const edm::ParameterSet &iConfig, const tt::Setup *setup) | |
const std::vector< int > & | layers (int dtcId) const |
~LayerEncoding () | |
Private Attributes | |
std::vector< std::vector< int > > | encodingsLayerId_ |
int | numDTCsPerRegion_ |
const tt::Setup * | setup_ |
Class to encode layer ids used between DTC and TFP in Hybrid.
Definition at line 19 of file LayerEncoding.h.
|
inline |
Definition at line 21 of file LayerEncoding.h.
trackerDTC::LayerEncoding::LayerEncoding | ( | const edm::ParameterSet & | iConfig, |
const tt::Setup * | setup | ||
) |
Definition at line 16 of file LayerEncoding.cc.
References encodingsLayerId_, cppFunctionSkipper::exception, numDTCsPerRegion_, nano_mu_digi_cff::region, singleTopDQM_cfi::setup, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm().
|
inline |
Definition at line 23 of file LayerEncoding.h.
int trackerDTC::LayerEncoding::decode | ( | tt::SensorModule * | sm | ) | const |
Definition at line 39 of file LayerEncoding.cc.
References HLT_2024v14_cff::distance, encodingsLayerId_, spr::find(), tt::Setup::numDTCsPerRegion(), setup_, and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm().
Referenced by trackerDTC::Stub::formatHybrid().
|
inline |
Definition at line 27 of file LayerEncoding.h.
References encodingsLayerId_, and numDTCsPerRegion_.
|
private |
Definition at line 35 of file LayerEncoding.h.
Referenced by decode(), LayerEncoding(), and layers().
|
private |
Definition at line 33 of file LayerEncoding.h.
Referenced by LayerEncoding(), and layers().
|
private |
Definition at line 31 of file LayerEncoding.h.
Referenced by decode(), and upgradeWorkflowComponents.UpgradeWorkflow::setup().