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 |
bool | channelId (const TTTrackRef &ttTrackRef, int &channelId) |
int | channelId (int seedType, int layerId) const |
bool | layerId (int seedType, const TTStubRef &ttStubRef, int &layerId) const |
int | layerId (int seedType, int channel) const |
int | maxNumProjectionLayers () const |
int | numChannelsStub () const |
int | numChannelsTrack () 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 |
~ChannelAssignment () | |
Private Attributes | |
std::vector< double > | boundaries_ |
std::vector< int > | channelEncoding_ |
int | maxNumProjectionLayers_ |
int | numChannelsStub_ |
int | numChannelsTrack_ |
int | numSeedingLayers_ |
int | numSeedTypes_ |
std::vector< int > | offsetsStubs_ |
std::vector< std::string > | seedTypeNames_ |
std::vector< std::vector< int > > | seedTypesProjectionLayers_ |
std::vector< std::vector< int > > | seedTypesSeedLayers_ |
const tt::Setup * | setup_ |
bool | useDuplicateRemoval_ |
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 cppFunctionSkipper::exception, edm::ParameterSet::getParameter(), createfilelist::int, 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 40 of file ChannelAssignment.h.
References channelEncoding_.
bool trklet::ChannelAssignment::channelId | ( | const TTTrackRef & | ttTrackRef, |
int & | channelId | ||
) |
Definition at line 118 of file ChannelAssignment.cc.
References boundaries_, cppFunctionSkipper::exception, numChannelsTrack_, numSeedTypes_, DiDispStaMuonMonitor_cfi::pt, alignCSCRings::s, seedTypeNames_, and useDuplicateRemoval_.
Referenced by trklet::ProducerTBout::produce().
int trklet::ChannelAssignment::channelId | ( | int | seedType, |
int | layerId | ||
) | const |
Definition at line 181 of file ChannelAssignment.cc.
References HLT_2023v12_cff::distance, spr::find(), layerId(), HLT_FULL_cff::seeds, seedTypesProjectionLayers_, and seedTypesSeedLayers_.
bool trklet::ChannelAssignment::layerId | ( | int | seedType, |
const TTStubRef & | ttStubRef, | ||
int & | layerId | ||
) | const |
Definition at line 149 of file ChannelAssignment.cc.
References HLT_2023v12_cff::distance, cppFunctionSkipper::exception, spr::find(), tt::Setup::layerId(), Skims_PA_cff::name, numSeedTypes_, seedingLayers(), seedTypeNames_, seedTypesProjectionLayers_, seedTypesSeedLayers_, and setup_.
Referenced by channelId(), trklet::KFin::consume(), and L1FPGATrackProducer::produce().
|
inline |
Definition at line 48 of file ChannelAssignment.h.
References seedTypesProjectionLayers_.
|
inline |
Definition at line 38 of file ChannelAssignment.h.
References maxNumProjectionLayers_.
Referenced by L1FPGATrackProducer::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::KFin::consume(), trklet::KFin::produce(), trklet::ProducerTBout::produce(), and L1FPGATrackProducer::produce().
|
inline |
Definition at line 36 of file ChannelAssignment.h.
References seedTypesProjectionLayers_.
Referenced by trklet::KFin::consume(), and L1FPGATrackProducer::produce().
|
inline |
Definition at line 52 of file ChannelAssignment.h.
References numSeedingLayers_.
Referenced by trklet::KFin::consume().
|
inline |
int trklet::ChannelAssignment::offsetStub | ( | int | channelTrack | ) | const |
Definition at line 176 of file ChannelAssignment.cc.
References numChannelsStub_, numChannelsTrack_, and offsetsStubs_.
Referenced by trklet::KFin::consume(), and L1FPGATrackProducer::produce().
|
inline |
Definition at line 44 of file ChannelAssignment.h.
References seedTypesSeedLayers_.
Referenced by trklet::KFin::consume(), and layerId().
|
inline |
|
private |
Definition at line 60 of file ChannelAssignment.h.
Referenced by channelId().
|
private |
Definition at line 76 of file ChannelAssignment.h.
Referenced by channelEncoding().
|
private |
Definition at line 74 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), and maxNumProjectionLayers().
|
private |
Definition at line 68 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), numChannelsStub(), and offsetStub().
|
private |
Definition at line 66 of file ChannelAssignment.h.
Referenced by channelId(), numChannelsTrack(), and offsetStub().
|
private |
Definition at line 80 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), and numSeedingLayers().
|
private |
Definition at line 64 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), channelId(), layerId(), and numSeedTypes().
|
private |
Definition at line 78 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), and offsetStub().
|
private |
Definition at line 62 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), channelId(), and layerId().
|
private |
Definition at line 72 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), channelId(), layerId(), and numProjectionLayers().
|
private |
Definition at line 70 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), channelId(), layerId(), and seedingLayers().
|
private |
Definition at line 56 of file ChannelAssignment.h.
Referenced by ChannelAssignment(), layerId(), upgradeWorkflowComponents.UpgradeWorkflow::setup(), and type().
|
private |
Definition at line 58 of file ChannelAssignment.h.
Referenced by channelId().