#include <L1Trigger/DemonstratorTools/plugins/GTTFileWriter.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
typedef TTTrack< Ref_Phase2TrackerDigi_ > | Track_t |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | endJob () override |
Private Attributes | |
edm::EDGetTokenT< edm::View< Track_t > > | convertedTracksToken_ |
l1t::demo::BoardDataWriter | fileWriterConvertedTracks_ |
l1t::demo::BoardDataWriter | fileWriterInputTracks_ |
l1t::demo::BoardDataWriter | fileWriterOutputToCorrelator_ |
const std::map< l1t::demo::LinkId, std::vector< size_t > > | kChannelIdsInput |
const std::map< std::string, l1t::demo::ChannelSpec > | kChannelSpecsInput |
const std::map< l1t::demo::LinkId, std::pair< l1t::demo::ChannelSpec, std::vector< size_t > > > | kChannelSpecsOutputToCorrelator |
edm::EDGetTokenT< edm::View< Track_t > > | tracksToken_ |
edm::EDGetTokenT< edm::View< l1t::VertexWord > > | verticesToken_ |
Static Private Attributes | |
static constexpr size_t | kFramesPerTMUXPeriod = 9 |
static constexpr size_t | kGapLengthInput = 6 |
static constexpr size_t | kGapLengthOutput = 44 |
static constexpr size_t | kGTTBoardTMUX = 6 |
static constexpr size_t | kMaxLinesPerFile = 1024 |
static constexpr size_t | kTrackTMUX = 18 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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: Example EDAnalyzer class, illustrating how BoardDataWriter can be used to write I/O buffer files for hardware/firmware tests
Implementation: [Notes on implementation]
Definition at line 50 of file GTTFileWriter.cc.
|
private |
Definition at line 96 of file GTTFileWriter.cc.
|
explicit |
Definition at line 116 of file GTTFileWriter.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 142 of file GTTFileWriter.cc.
References l1t::demo::EventData::add(), l1t::demo::BoardDataWriter::addEvent(), convertedTracksToken_, l1t::demo::codecs::encodeTracks(), l1t::demo::codecs::encodeVertices(), fileWriterConvertedTracks_, fileWriterInputTracks_, fileWriterOutputToCorrelator_, mps_fire::i, iEvent, tracksToken_, and verticesToken_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 168 of file GTTFileWriter.cc.
References fileWriterConvertedTracks_, fileWriterInputTracks_, fileWriterOutputToCorrelator_, and l1t::demo::BoardDataWriter::flush().
|
static |
Definition at line 176 of file GTTFileWriter.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_2022v11_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 104 of file GTTFileWriter.cc.
Referenced by analyze().
|
private |
Definition at line 108 of file GTTFileWriter.cc.
|
private |
Definition at line 107 of file GTTFileWriter.cc.
|
private |
Definition at line 109 of file GTTFileWriter.cc.
|
private |
Definition at line 66 of file GTTFileWriter.cc.
|
private |
Definition at line 87 of file GTTFileWriter.cc.
|
private |
Definition at line 92 of file GTTFileWriter.cc.
|
staticprivate |
Definition at line 59 of file GTTFileWriter.cc.
|
staticprivate |
Definition at line 60 of file GTTFileWriter.cc.
|
staticprivate |
Definition at line 61 of file GTTFileWriter.cc.
|
staticprivate |
Definition at line 63 of file GTTFileWriter.cc.
|
staticprivate |
Definition at line 64 of file GTTFileWriter.cc.
|
staticprivate |
Definition at line 62 of file GTTFileWriter.cc.
|
private |
Definition at line 103 of file GTTFileWriter.cc.
Referenced by analyze().
|
private |
Definition at line 105 of file GTTFileWriter.cc.
Referenced by analyze().