Definition at line 78 of file L1TCtL2EgProducer.cc.
◆ PatternWriter()
Definition at line 80 of file L1TCtL2EgProducer.cc.
References edm::ParameterSet::getParameter(), l1ctLayer2EG_cff::nFramesPerBX, l1t::demo::parseFileFormat(), and AlCaHLTBitMon_QueryRunRegistry::string.
83 std::map<l1t::demo::LinkId, std::pair<l1t::demo::ChannelSpec, std::vector<size_t>>> channelSpecs;
85 for (
const auto &channelConf : conf.
getParameter<std::vector<edm::ParameterSet>>(
"channels")) {
86 unsigned int inTMUX = channelConf.getParameter<uint32_t>(
"TMUX");
87 unsigned int eventGap =
88 inTMUX *
nFramesPerBX - channelConf.getParameter<uint32_t>(
"nWords");
90 std::vector<uint32_t> chns = channelConf.getParameter<std::vector<uint32_t>>(
"channels");
92 channelConf.getParameter<uint32_t>(
"id")}] =
94 std::vector<size_t>(std::begin(chns), std::end(chns)));
97 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_