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_, HLT_2023v12_cff::region, and singleTopDQM_cfi::setup.
|
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_2023v12_cff::distance, tt::SensorModule::dtcId(), encodingsLayerId_, spr::find(), tt::SensorModule::layerId(), tt::Setup::numDTCsPerRegion(), and setup_.
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().