Definition at line 77 of file L1TCtL2EgProducer.cc.
◆ PatternWriter()
Definition at line 79 of file L1TCtL2EgProducer.cc.
References edm::ParameterSet::getParameter(), l1ctJetFileWriter_cfi::nFramesPerBX, l1t::demo::parseFileFormat(), and AlCaHLTBitMon_QueryRunRegistry::string.
82 std::map<l1t::demo::LinkId, std::pair<l1t::demo::ChannelSpec, std::vector<size_t>>> channelSpecs;
84 for (
const auto &channelConf : conf.
getParameter<std::vector<edm::ParameterSet>>(
"channels")) {
85 unsigned int inTMUX = channelConf.getParameter<uint32_t>(
"TMUX");
86 unsigned int eventGap =
87 inTMUX *
nFramesPerBX - channelConf.getParameter<uint32_t>(
"nWords");
89 std::vector<uint32_t> chns = channelConf.getParameter<std::vector<uint32_t>>(
"channels");
91 channelConf.getParameter<uint32_t>(
"id")}] =
93 std::vector<size_t>(std::begin(chns), std::end(chns)));
96 dataWriter_ = std::make_unique<l1t::demo::BoardDataWriter>(
std::unique_ptr< l1t::demo::BoardDataWriter > dataWriter_
T getParameter(std::string const &) const
Logical ID for link within any given time slice (e.g. ["tracks", 0] -> ["tracks", 17] for links from ...
FileFormat parseFileFormat(const std::string &)
◆ addEvent()
◆ flush()
void L1TCtL2EgProducer::PatternWriter::flush |
( |
| ) |
|
|
inline |
◆ dataWriter_