Transforms TTTracks and Streams from Tracklet pattern reco. into StreamsTrack by adding to the digitised track stream a reference to the corresponding TTTrack. (Could not be done in previous L1TrackFPGAProducer, as single EDProducer can't produce output containing both an EDProduct and refs to that product). Writes Tracks & stubs rejected/kept after truncation to separate StreamsTrack & StreamsStub branches. More...
Public Member Functions | |
ProducerTBout (const ParameterSet &) | |
~ProducerTBout () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | beginRun (const Run &, const EventSetup &) override |
virtual void | endJob () |
void | produce (Event &, const EventSetup &) override |
Private Attributes | |
ChannelAssignment * | channelAssignment_ = nullptr |
const DataFormats * | dataFormats_ = nullptr |
EDGetTokenT< StreamsStub > | edGetTokenStubs_ |
EDGetTokenT< Streams > | edGetTokenTracks_ |
EDGetTokenT< TTTracks > | edGetTokenTTTracks_ |
EDPutTokenT< StreamsStub > | edPutTokenAcceptedStubs_ |
EDPutTokenT< StreamsTrack > | edPutTokenAcceptedTracks_ |
EDPutTokenT< StreamsStub > | edPutTokenLostStubs_ |
EDPutTokenT< StreamsTrack > | edPutTokenLostTracks_ |
bool | enableTruncation_ |
ESGetToken< ChannelAssignment, ChannelAssignmentRcd > | esGetTokenChannelAssignment_ |
ESGetToken< DataFormats, DataFormatsRcd > | esGetTokenDataFormats_ |
ESGetToken< Setup, SetupRcd > | esGetTokenSetup_ |
ParameterSet | iConfig_ |
const Setup * | setup_ = nullptr |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Transforms TTTracks and Streams from Tracklet pattern reco. into StreamsTrack by adding to the digitised track stream a reference to the corresponding TTTrack. (Could not be done in previous L1TrackFPGAProducer, as single EDProducer can't produce output containing both an EDProduct and refs to that product). Writes Tracks & stubs rejected/kept after truncation to separate StreamsTrack & StreamsStub branches.
Definition at line 40 of file ProducerTBout.cc.
|
explicit |
Definition at line 80 of file ProducerTBout.cc.
References edGetTokenStubs_, edGetTokenTracks_, edGetTokenTTTracks_, edPutTokenAcceptedStubs_, edPutTokenAcceptedTracks_, edPutTokenLostStubs_, edPutTokenLostTracks_, enableTruncation_, esGetTokenChannelAssignment_, esGetTokenDataFormats_, esGetTokenSetup_, edm::ParameterSet::getParameter(), and SimL1EmulatorRepack_Full_cff::inputTag.
|
inlineoverride |
Definition at line 43 of file ProducerTBout.cc.
|
overrideprivate |
Definition at line 102 of file ProducerTBout.cc.
References channelAssignment_, tt::Setup::checkHistory(), tt::Setup::configurationSupported(), dataFormats_, esGetTokenChannelAssignment_, esGetTokenDataFormats_, esGetTokenSetup_, edm::EventSetup::getData(), edm::ParameterSet::getParameter(), iConfig_, edm::Run::processHistory(), and setup_.
|
inlineprivatevirtual |
Definition at line 48 of file ProducerTBout.cc.
|
overrideprivate |
Definition at line 116 of file ProducerTBout.cc.
References channelAssignment_, trklet::ChannelAssignment::channelId(), tt::Setup::configurationSupported(), HLT_2023v12_cff::distance, edGetTokenStubs_, edGetTokenTracks_, edGetTokenTTTracks_, edPutTokenAcceptedStubs_, edPutTokenAcceptedTracks_, edPutTokenLostStubs_, edPutTokenLostTracks_, enableTruncation_, cppFunctionSkipper::exception, f, amptDefault_cfi::frame, mps_fire::i, iEvent, createfilelist::int, remoteMonitoring_LASER_era2018_cfg::limit, eostools::move(), GetRecoTauVFromDQM_MC_cff::next, beamSpotPI::nTracks, trklet::ChannelAssignment::numChannelsStub(), trklet::ChannelAssignment::numChannelsTrack(), tt::Setup::numFrames(), tt::Setup::numRegions(), push_back(), nano_mu_digi_cff::region, setup_, and HcalDetIdTransform::transform().
|
private |
Definition at line 75 of file ProducerTBout.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 73 of file ProducerTBout.cc.
Referenced by beginRun().
|
private |
Definition at line 55 of file ProducerTBout.cc.
Referenced by produce(), and ProducerTBout().
|
private |
Definition at line 53 of file ProducerTBout.cc.
Referenced by produce(), and ProducerTBout().
|
private |
Definition at line 51 of file ProducerTBout.cc.
Referenced by produce(), and ProducerTBout().
|
private |
Definition at line 57 of file ProducerTBout.cc.
Referenced by produce(), and ProducerTBout().
|
private |
Definition at line 60 of file ProducerTBout.cc.
Referenced by produce(), and ProducerTBout().
|
private |
Definition at line 58 of file ProducerTBout.cc.
Referenced by produce(), and ProducerTBout().
|
private |
Definition at line 61 of file ProducerTBout.cc.
Referenced by produce(), and ProducerTBout().
|
private |
Definition at line 77 of file ProducerTBout.cc.
Referenced by produce(), and ProducerTBout().
|
private |
Definition at line 67 of file ProducerTBout.cc.
Referenced by beginRun(), and ProducerTBout().
|
private |
Definition at line 65 of file ProducerTBout.cc.
Referenced by beginRun(), and ProducerTBout().
|
private |
Definition at line 63 of file ProducerTBout.cc.
Referenced by beginRun(), and ProducerTBout().
|
private |
Definition at line 69 of file ProducerTBout.cc.
Referenced by beginRun().
|
private |
Definition at line 71 of file ProducerTBout.cc.
Referenced by beginRun(), produce(), and upgradeWorkflowComponents.UpgradeWorkflow::setup().