#include <L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc>
Classes | |
struct | NNTrackWordSelector |
struct | TTTrackDeltaZMaxSelector |
struct | TTTrackWordDeltaZMaxSelector |
struct | TTTrackWordLinkLimitSelector |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
enum | TrackBitWidths { kPtSize = TTTrack_TrackWord::TrackBitWidths::kRinvSize - 1, kPtMagSize = 9, kEtaSize = TTTrack_TrackWord::TrackBitWidths::kTanlSize, kEtaMagSize = 3 } |
typedef edm::Handle< TTTrackCollectionType > | TTTrackCollectionHandle |
typedef std::vector< TTTrackType > | TTTrackCollectionType |
typedef edm::RefVector< TTTrackCollectionType > | TTTrackRefCollectionType |
typedef std::unique_ptr< TTTrackRefCollectionType > | TTTrackRefCollectionUPtr |
typedef TTTrack< Ref_Phase2TrackerDigi_ > | TTTrackType |
Private Member Functions | |
void | printDebugInfo (const edm::Handle< TTTrackRefCollectionType > &l1SelectedTracksHandle, const edm::Handle< TTTrackRefCollectionType > &l1SelectedTracksEmulationHandle, const TTTrackRefCollectionUPtr &vTTTrackAssociatedOutput, const TTTrackRefCollectionUPtr &vTTTrackAssociatedEmulationOutput) const |
void | printTrackInfo (edm::LogInfo &log, const TTTrackType &track, bool printEmulation=false) const |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Selects a set of L1Tracks based on a set of predefined criteria.
Implementation: Inputs: std::vector<TTTrack> - Each floating point TTTrack inside this collection inherits from a bit-accurate TTTrack_TrackWord, used for emulation purposes. Outputs: std::vector<TTTrackRef> - A collection of TTTrack Refs selected from cuts on the TTTrack properties std::vector<TTTrackRef> - A collection of TTTrack Refs selected from cuts on the TTTrack_TrackWord properties
Definition at line 73 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 92 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 91 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 93 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 94 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 90 of file L1TrackVertexAssociationProducer.cc.
|
private |
Enumerator | |
---|---|
kPtSize | |
kPtMagSize | |
kEtaSize | |
kEtaMagSize |
Definition at line 83 of file L1TrackVertexAssociationProducer.cc.
|
explicit |
Definition at line 299 of file L1TrackVertexAssociationProducer.cc.
References associationGraph_, associationGraphPath_, associationSesh_, tensorflow::createSession(), deltaZMax_, deltaZMaxEtaBounds_, Exception, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), tensorflow::loadGraphDef(), outputCollectionName_, processEmulatedTracks_, processSimulatedTracks_, useAssociationNetwork_, and useDisplacedTracksDeltaZOverride_.
|
override |
Definition at line 356 of file L1TrackVertexAssociationProducer.cc.
|
static |
Definition at line 585 of file L1TrackVertexAssociationProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 362 of file L1TrackVertexAssociationProducer.cc.
References edm::RefVector< C, T, F >::begin(), debug_, edm::RefVector< C, T, F >::end(), CrabHelper::log, printTrackInfo(), processEmulatedTracks_, processSimulatedTracks_, DBoxMetadataHelper::set_difference(), and HLT_2024v14_cff::track.
Referenced by produce().
|
private |
Definition at line 457 of file L1TrackVertexAssociationProducer.cc.
References CrabHelper::log, TTTrack_TrackWord::stepPhi0, TTTrack_TrackWord::stepZ0, and HLT_2024v14_cff::track.
Referenced by printDebugInfo().
|
overrideprivatevirtual |
Implements edm::global::EDProducerBase.
Definition at line 483 of file L1TrackVertexAssociationProducer.cc.
References associationNetworkEtaBounds_, associationNetworkZ0binning_, associationNetworkZ0ResBins_, associationSesh_, associationThreshold_, edm::RefVector< C, T, F >::begin(), debug_, deltaZMax_, deltaZMaxEtaBounds_, edm::RefVector< C, T, F >::end(), fwNTrackSetsTVA_, mps_fire::i, iEvent, l1SelectedTracksEmulationToken_, l1SelectedTracksToken_, l1TracksToken_, l1VerticesEmulationToken_, l1VerticesToken_, L1TrackVertexAssociationProducer::TTTrackWordLinkLimitSelector::log(), eostools::move(), outputCollectionName_, printDebugInfo(), processEmulatedTracks_, processSimulatedTracks_, HLT_2024v14_cff::track, useAssociationNetwork_, l1t::Vertex::z0(), and l1t::VertexWord::z0().
|
private |
Definition at line 289 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer().
|
private |
Definition at line 286 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer().
|
private |
Definition at line 291 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 291 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 291 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 290 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), and produce().
|
private |
Definition at line 287 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 279 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 293 of file L1TrackVertexAssociationProducer.cc.
Referenced by printDebugInfo(), and produce().
|
private |
Definition at line 280 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), and produce().
|
private |
Definition at line 280 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), and produce().
|
private |
Definition at line 283 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 277 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 275 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 273 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 276 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 274 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 278 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), and produce().
|
private |
Definition at line 272 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), printDebugInfo(), and produce().
|
private |
Definition at line 272 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), printDebugInfo(), and produce().
|
private |
Definition at line 288 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), and produce().
|
private |
Definition at line 281 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer().