#include <L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc>
Classes | |
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 |
Private Attributes | |
const edm::ParameterSet | cutSet_ |
int | debug_ |
std::vector< double > | deltaZMax_ |
std::vector< double > | deltaZMaxEtaBounds_ |
const unsigned int | fwNTrackSetsTVA_ |
const edm::EDGetTokenT< TTTrackRefCollectionType > | l1SelectedTracksEmulationToken_ |
const edm::EDGetTokenT< TTTrackRefCollectionType > | l1SelectedTracksToken_ |
const edm::EDGetTokenT< TTTrackCollectionType > | l1TracksToken_ |
const edm::EDGetTokenT< l1t::VertexWordCollection > | l1VerticesEmulationToken_ |
const edm::EDGetTokenT< l1t::VertexCollection > | l1VerticesToken_ |
const std::string | outputCollectionName_ |
const bool | processEmulatedTracks_ |
const bool | processSimulatedTracks_ |
const double | useDisplacedTracksDeltaZOverride_ |
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<TTTrack> - A collection of TTTracks selected from cuts on the TTTrack properties std::vector<TTTrack> - A collection of TTTracks selected from cuts on the TTTrack_TrackWord properties
Definition at line 71 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 90 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 89 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 91 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 92 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 88 of file L1TrackVertexAssociationProducer.cc.
|
private |
Enumerator | |
---|---|
kPtSize | |
kPtMagSize | |
kEtaSize | |
kEtaMagSize |
Definition at line 81 of file L1TrackVertexAssociationProducer.cc.
|
explicit |
Definition at line 218 of file L1TrackVertexAssociationProducer.cc.
References deltaZMax_, deltaZMaxEtaBounds_, Exception, outputCollectionName_, processEmulatedTracks_, processSimulatedTracks_, and useDisplacedTracksDeltaZOverride_.
|
override |
Definition at line 265 of file L1TrackVertexAssociationProducer.cc.
|
static |
Definition at line 482 of file L1TrackVertexAssociationProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 271 of file L1TrackVertexAssociationProducer.cc.
References edm::RefVector< C, T, F >::begin(), debug_, edm::RefVector< C, T, F >::end(), dqm-mbProfile::log, printTrackInfo(), processEmulatedTracks_, processSimulatedTracks_, DBoxMetadataHelper::set_difference(), and HLT_2024v13_cff::track.
Referenced by produce().
|
private |
Definition at line 366 of file L1TrackVertexAssociationProducer.cc.
References dqm-mbProfile::log, TTTrack_TrackWord::stepPhi0, TTTrack_TrackWord::stepZ0, and HLT_2024v13_cff::track.
Referenced by printDebugInfo().
|
overrideprivatevirtual |
Implements edm::global::EDProducerBase.
Definition at line 392 of file L1TrackVertexAssociationProducer.cc.
References 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_2024v13_cff::track, l1t::Vertex::z0(), and l1t::VertexWord::z0().
|
private |
Definition at line 207 of file L1TrackVertexAssociationProducer.cc.
|
private |
Definition at line 212 of file L1TrackVertexAssociationProducer.cc.
Referenced by printDebugInfo(), and produce().
|
private |
Definition at line 208 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), and produce().
|
private |
Definition at line 208 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), and produce().
|
private |
Definition at line 211 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 205 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 203 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 201 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 204 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 202 of file L1TrackVertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 206 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), and produce().
|
private |
Definition at line 200 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), printDebugInfo(), and produce().
|
private |
Definition at line 200 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer(), printDebugInfo(), and produce().
|
private |
Definition at line 209 of file L1TrackVertexAssociationProducer.cc.
Referenced by L1TrackVertexAssociationProducer().