Class to assign tracklet tracks and stubs to output channel based on their Pt or seed type as well as DTC stubs to input channel. More...
#include <ChannelAssignment.h>
Public Member Functions | |
ChannelAssignment () | |
ChannelAssignment (const edm::ParameterSet &iConfig, const tt::Setup *setup) | |
const std::vector< int > & | channelEncoding () const |
int | channelId (const TTTrackRef &ttTrackRef) const |
int | channelId (int seedType, int layerId) const |
int | depthMemory () const |
bool | layerId (int seedType, const TTStubRef &ttStubRef, int &layerId) const |
int | layerId (int seedType, int channel) const |
int | maxNumProjectionLayers () const |
int | minIdenticalStubs () const |
int | nodeDR (const TTTrackRef &ttTrackRef) const |
int | numChannelsStub () const |
int | numChannelsTrack () const |
int | numComparisonModules () const |
int | numNodesDR () const |
int | numProjectionLayers (int seedType) const |
int | numSeedingLayers () const |
int | numSeedTypes () const |
int | offsetStub (int channelTrack) const |
const std::vector< int > & | seedingLayers (int seedType) const |
tt::SensorModule::Type | type (const TTStubRef &ttStubRef) const |
int | widthLayerId () const |
int | widthPSTilt () const |
int | widthSeedStubId () const |
int | widthStubId () const |
~ChannelAssignment () | |
Private Attributes | |
std::vector< int > | channelEncoding_ |
int | depthMemory_ |
int | maxNumProjectionLayers_ |
int | minIdenticalStubs_ |
int | numChannelsStub_ |
int | numChannelsTrack_ |
int | numComparisonModules_ |
int | numNodesDR_ |
int | numSeedingLayers_ |
int | numSeedTypes_ |
std::vector< int > | offsetsStubs_ |
edm::ParameterSet | pSetDR_ |
edm::ParameterSet | pSetDRin_ |
std::vector< double > | ptBoundaries_ |
std::vector< std::string > | seedTypeNames_ |
std::vector< std::vector< int > > | seedTypesProjectionLayers_ |
std::vector< std::vector< int > > | seedTypesSeedLayers_ |
const tt::Setup * | setup_ |
int | widthLayerId_ |
int | widthPSTilt_ |
int | widthSeedStubId_ |
int | widthStubId_ |
Class to assign tracklet tracks and stubs to output channel based on their Pt or seed type as well as DTC stubs to input channel.
Definition at line 20 of file ChannelAssignment.h.
|
inline |
Definition at line 22 of file ChannelAssignment.h.
trklet::ChannelAssignment::ChannelAssignment | ( | const edm::ParameterSet & | iConfig, |
const tt::Setup * | setup | ||
) |
Definition at line 17 of file ChannelAssignment.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), cppFunctionSkipper::exception, edm::ParameterSet::getParameter(), createfilelist::int, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, maxNumProjectionLayers_, GetRecoTauVFromDQM_MC_cff::next, tt::Setup::numBarrelLayer(), numChannelsStub_, numSeedingLayers_, numSeedTypes_, tt::Setup::offsetLayerDisks(), tt::Setup::offsetLayerId(), offsetsStubs_, trklet::Settings::projdisks(), trklet::Settings::projlayers(), alignCSCRings::s, fileCollector::seed, trklet::Settings::seedlayers(), seedTypeNames_, seedTypesProjectionLayers_, seedTypesSeedLayers_, DBoxMetadataHelper::set_difference(), DBoxMetadataHelper::set_intersection(), and setup_.
|
inline |
Definition at line 24 of file ChannelAssignment.h.
|
inline |
Definition at line 56 of file ChannelAssignment.h.
References channelEncoding_.
int trklet::ChannelAssignment::channelId | ( | const TTTrackRef & | ttTrackRef | ) | const |
Definition at line 128 of file ChannelAssignment.cc.
References cppFunctionSkipper::exception, numSeedTypes_, alignCSCRings::s, and seedTypeNames_.
Referenced by trklet::ProducerTBout::produce(), and L1FPGATrackProducer::produce().
int trklet::ChannelAssignment::channelId | ( | int | seedType, |
int | layerId | ||
) | const |
Definition at line 177 of file ChannelAssignment.cc.
References HLT_2024v12_cff::distance, spr::find(), layerId(), HLT_2024v12_cff::seeds, seedTypesProjectionLayers_, and seedTypesSeedLayers_.
|
inline |
Definition at line 40 of file ChannelAssignment.h.
References depthMemory_.
Referenced by trklet::DRin::produce().
bool trklet::ChannelAssignment::layerId | ( | int | seedType, |
const TTStubRef & | ttStubRef, | ||
int & | layerId | ||
) | const |
Definition at line 143 of file ChannelAssignment.cc.
References HLT_2024v12_cff::distance, cppFunctionSkipper::exception, spr::find(), tt::Setup::layerId(), Skims_PA_cff::name, numSeedTypes_, seedingLayers(), seedTypeNames_, seedTypesProjectionLayers_, seedTypesSeedLayers_, and setup_.
Referenced by channelId(), and trklet::DRin::consume().
int trklet::ChannelAssignment::layerId | ( | int | seedType, |
int | channel | ||
) | const |
Definition at line 206 of file ChannelAssignment.cc.
References numProjectionLayers(), seedTypesProjectionLayers_, and seedTypesSeedLayers_.
|
inline |
Definition at line 54 of file ChannelAssignment.h.
References maxNumProjectionLayers_.
Referenced by L1FPGATrackProducer::produce().
|
inline |
Definition at line 44 of file ChannelAssignment.h.
References minIdenticalStubs_.
Referenced by trklet::DR::equalEnough().
int trklet::ChannelAssignment::nodeDR | ( | const TTTrackRef & | ttTrackRef | ) | const |
Definition at line 190 of file ChannelAssignment.cc.
References b, newFWLiteAna::bin, numNodesDR_, DiDispStaMuonMonitor_cfi::pt, and ptBoundaries_.
Referenced by trklet::DRin::produce().
|
inline |
Definition at line 30 of file ChannelAssignment.h.
References numChannelsStub_.
Referenced by trklet::ProducerTBout::produce(), and L1FPGATrackProducer::produce().
|
inline |
Definition at line 28 of file ChannelAssignment.h.
References numChannelsTrack_.
Referenced by trklet::DRin::consume(), trklet::DRin::produce(), trklet::ProducerTBout::produce(), and L1FPGATrackProducer::produce().
|
inline |
Definition at line 42 of file ChannelAssignment.h.
References numComparisonModules_.
Referenced by trklet::DR::produce().
|
inline |
Definition at line 46 of file ChannelAssignment.h.
References numNodesDR_.
Referenced by trklet::DR::consume(), trklet::KFin::consume(), trklet::DR::produce(), trklet::KFin::produce(), trklet::DRin::produce(), trklet::ProducerDR::produce(), and trklet::ProducerDRin::produce().
|
inline |
Definition at line 52 of file ChannelAssignment.h.
References seedTypesProjectionLayers_.
Referenced by trklet::DRin::consume(), layerId(), and L1FPGATrackProducer::produce().
|
inline |
Definition at line 68 of file ChannelAssignment.h.
References numSeedingLayers_.
Referenced by trklet::DRin::consume(), and L1FPGATrackProducer::produce().
|
inline |
int trklet::ChannelAssignment::offsetStub | ( | int | channelTrack | ) | const |
Definition at line 170 of file ChannelAssignment.cc.
References numChannelsStub_, numChannelsTrack_, offsetsStubs_, and nano_mu_digi_cff::region.
Referenced by trklet::DRin::consume(), and L1FPGATrackProducer::produce().
|
inline |
Definition at line 60 of file ChannelAssignment.h.
References seedTypesSeedLayers_.
Referenced by layerId().
|
inline |
|
inline |
Definition at line 32 of file ChannelAssignment.h.
References widthLayerId_.
Referenced by trklet::DR::consume(), trklet::KFin::consume(), and trklet::DRin::produce().
|
inline |
Definition at line 38 of file ChannelAssignment.h.
References widthPSTilt_.
Referenced by trklet::DR::consume(), and trklet::KFin::consume().
|
inline |
Definition at line 36 of file ChannelAssignment.h.
References widthSeedStubId_.
Referenced by trklet::DR::consume(), trklet::DRin::consume(), and trklet::DRin::produce().
|
inline |
|
private |
Definition at line 112 of file ChannelAssignment.h.
Referenced by channelEncoding().
|
private |
Definition at line 86 of file ChannelAssignment.h.
Referenced by depthMemory().
|
private |
Definition at line 110 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), and maxNumProjectionLayers().
|
private |
Definition at line 94 of file ChannelAssignment.h.
Referenced by minIdenticalStubs().
|
private |
Definition at line 104 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), numChannelsStub(), and offsetStub().
|
private |
Definition at line 102 of file ChannelAssignment.h.
Referenced by numChannelsTrack(), and offsetStub().
|
private |
Definition at line 92 of file ChannelAssignment.h.
Referenced by numComparisonModules().
|
private |
Definition at line 96 of file ChannelAssignment.h.
Referenced by nodeDR(), and numNodesDR().
|
private |
Definition at line 116 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), and numSeedingLayers().
|
private |
Definition at line 100 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), channelId(), layerId(), and numSeedTypes().
|
private |
Definition at line 114 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), and offsetStub().
|
private |
Definition at line 90 of file ChannelAssignment.h.
|
private |
Definition at line 76 of file ChannelAssignment.h.
|
private |
Definition at line 88 of file ChannelAssignment.h.
Referenced by nodeDR().
|
private |
Definition at line 98 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), channelId(), and layerId().
|
private |
Definition at line 108 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), channelId(), layerId(), and numProjectionLayers().
|
private |
Definition at line 106 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), channelId(), layerId(), and seedingLayers().
|
private |
Definition at line 74 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), layerId(), upgradeWorkflowComponents.UpgradeWorkflow::setup(), and type().
|
private |
Definition at line 78 of file ChannelAssignment.h.
Referenced by widthLayerId().
|
private |
Definition at line 84 of file ChannelAssignment.h.
Referenced by widthPSTilt().
|
private |
Definition at line 82 of file ChannelAssignment.h.
Referenced by widthSeedStubId().
|
private |
Definition at line 80 of file ChannelAssignment.h.
Referenced by widthStubId().