#include <L1Trigger/DemonstratorTools/plugins/GTTFileReader.cc>
Public Member Functions | |
GTTFileReader (const edm::ParameterSet &) | |
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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Types | |
typedef TTTrack< Ref_Phase2TrackerDigi_ > | L1Track |
typedef std::vector< L1Track > | TTTrackCollection |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::optional< l1t::demo::BoardDataReader > | fileReaderInputTracks_ = std::nullopt |
std::optional< l1t::demo::BoardDataReader > | fileReaderOutputToCorrelator_ = std::nullopt |
std::optional< l1t::demo::BoardDataReader > | fileReaderOutputToGlobalTrigger_ = std::nullopt |
const size_t | kEmptyFramesInputTracks_ |
const size_t | kEmptyFramesOutputToCorrelator_ |
const size_t | kEmptyFramesOutputToGlobalTrigger_ |
std::string | l1TrackCollectionName_ |
std::string | l1VertexCollectionName_ |
const bool | processInputTracks_ |
const bool | processOutputToCorrelator_ |
const bool | processOutputToGlobalTrigger_ |
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 |
Description: Example EDProducer class, illustrating how BoardDataReader can be used to read I/O buffer files (that have been created in hardware/firmware tests), decode the contained data, and store this in EDM collections.
Implementation: [Notes on implementation]
Definition at line 45 of file GTTFileReader.cc.
|
private |
Definition at line 53 of file GTTFileReader.cc.
|
private |
Definition at line 54 of file GTTFileReader.cc.
|
explicit |
Definition at line 73 of file GTTFileReader.cc.
References fileReaderInputTracks_, fileReaderOutputToCorrelator_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), l1t::demo::gtt::kChannelMapInput, l1t::demo::gtt::kChannelMapOutputToCorrelator, kEmptyFramesInputTracks_, kEmptyFramesOutputToCorrelator_, l1t::demo::gtt::kFramesPerTMUXPeriod, l1t::demo::gtt::kGTTBoardTMUX, l1TrackCollectionName_, l1VertexCollectionName_, l1t::demo::parseFileFormat(), processInputTracks_, processOutputToCorrelator_, processOutputToGlobalTrigger_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 161 of file GTTFileReader.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivate |
Definition at line 117 of file GTTFileReader.cc.
References l1t::demo::codecs::decodeTracks(), l1t::demo::codecs::decodeVertices(), fileReaderInputTracks_, fileReaderOutputToCorrelator_, mps_fire::i, iEvent, lostTracks_cfi::inputTracks, l1t::demo::gtt::kTrackTMUX, l1TrackCollectionName_, l1VertexCollectionName_, eostools::move(), processInputTracks_, processOutputToCorrelator_, volumeBasedMagneticField_160812_cfi::sectors, l1t::demo::codecs::sectorsEtaPhiFromGTTLinkID(), HLT_2024v10_cff::track, and AlignmentTracksFromVertexSelector_cfi::vertices.
|
private |
Definition at line 68 of file GTTFileReader.cc.
Referenced by GTTFileReader(), and produce().
|
private |
Definition at line 66 of file GTTFileReader.cc.
Referenced by GTTFileReader(), and produce().
|
private |
Definition at line 70 of file GTTFileReader.cc.
|
private |
Definition at line 64 of file GTTFileReader.cc.
Referenced by GTTFileReader().
|
private |
Definition at line 63 of file GTTFileReader.cc.
Referenced by GTTFileReader().
|
private |
Definition at line 65 of file GTTFileReader.cc.
|
private |
Definition at line 69 of file GTTFileReader.cc.
Referenced by GTTFileReader(), and produce().
|
private |
Definition at line 67 of file GTTFileReader.cc.
Referenced by GTTFileReader(), and produce().
|
private |
Definition at line 61 of file GTTFileReader.cc.
Referenced by GTTFileReader(), and produce().
|
private |
Definition at line 60 of file GTTFileReader.cc.
Referenced by GTTFileReader(), and produce().
|
private |
Definition at line 62 of file GTTFileReader.cc.
Referenced by GTTFileReader().