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