Namespaces | |
codecs | |
Classes | |
class | BoardData |
Class representing information that's stored in the input or output buffers on a phase-2 board. More... | |
class | BoardDataReader |
class | BoardDataWriter |
struct | ChannelSpec |
class | EventData |
Class representing information phase-2 ATCA I/O data corresponding to a single event, with logical channel IDs (essentially string-uint pairs, e.g. tracks-0 to tracks-17). More... | |
struct | Frame |
struct | LinkId |
Logical ID for link within any given time slice (e.g. ["tracks", 0] -> ["tracks", 17] for links from TF) More... | |
Enumerations | |
enum | FileFormat { FileFormat::APx, FileFormat::EMP, FileFormat::X20 } |
Functions | |
bool | operator< (const LinkId &, const LinkId &) |
std::ostream & | operator<< (std::ostream &, FileFormat) |
FileFormat | parseFileFormat (const std::string &) |
BoardData | read (const std::string &filePath, const FileFormat) |
BoardData | read (std::istream &, const FileFormat) |
BoardData | readAPxFile (std::istream &, const FileFormat) |
BoardData | readEMPFile (std::istream &, const FileFormat) |
BoardData | readX20File (std::istream &, const FileFormat) |
void | write (const BoardData &, const std::string &filePath, const FileFormat) |
void | write (const BoardData &, std::ostream &, const FileFormat) |
void | writeAPxFile (const BoardData &, std::ostream &, const FileFormat) |
void | writeEMPFile (const BoardData &, std::ostream &, const FileFormat) |
void | writeX20File (const BoardData &, std::ostream &, const FileFormat) |
|
strong |
Enumerator | |
---|---|
APx | |
EMP | |
X20 |
Definition at line 9 of file FileFormat.h.
std::ostream & l1t::demo::operator<< | ( | std::ostream & | os, |
FileFormat | format | ||
) |
FileFormat l1t::demo::parseFileFormat | ( | const std::string & | s | ) |
Definition at line 70 of file utilities.cc.
References APx, EMP, alignCSCRings::s, and X20.
Referenced by L1TCorrelatorLayer1PatternFileWriter::L1TCorrelatorLayer1PatternFileWriter(), and L1TCtL2EgProducer::PatternWriter::PatternWriter().
BoardData l1t::demo::read | ( | const std::string & | filePath, |
const FileFormat | format | ||
) |
Definition at line 91 of file utilities.cc.
References geometryDiff::file, and dt4ml_dqm_sourceclient-live_cfg::filePath.
Referenced by l1t::demo::BoardDataReader::BoardDataReader().
BoardData l1t::demo::read | ( | std::istream & | file, |
const FileFormat | format | ||
) |
Definition at line 100 of file utilities.cc.
References APx, EMP, geometryDiff::file, readAPxFile(), readEMPFile(), and readX20File().
BoardData l1t::demo::readAPxFile | ( | std::istream & | file, |
const FileFormat | format | ||
) |
Definition at line 109 of file utilities.cc.
References submitPVResolutionJobs::count, geometryDiff::file, dqmdumpme::indices, mps_splice::line, or, AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), and unpackBuffers-CaloStage2::token.
Referenced by read().
BoardData l1t::demo::readEMPFile | ( | std::istream & | file, |
const FileFormat | format | ||
) |
Definition at line 190 of file utilities.cc.
References ewkTauDQM_cfi::channels, geometryDiff::file, l1ctLayer2EG_cff::id, mps_splice::line, muonTagProbeFilters_cff::matched, or, hcallasereventfilter2012_cfi::prefix, alignCSCRings::s, str, AlCaHLTBitMon_QueryRunRegistry::string, unpackBuffers-CaloStage2::token, HcalDetIdTransform::transform(), and relativeConstraints::value.
Referenced by read().
BoardData l1t::demo::readX20File | ( | std::istream & | file, |
const FileFormat | format | ||
) |
Definition at line 260 of file utilities.cc.
Referenced by read().
void l1t::demo::write | ( | const BoardData & | data, |
const std::string & | filePath, | ||
const FileFormat | format | ||
) |
Definition at line 270 of file utilities.cc.
References gather_cfg::cout, data, HLT_2023v12_cff::distance, geometryDiff::file, and dt4ml_dqm_sourceclient-live_cfg::filePath.
Referenced by l1t::demo::BoardDataWriter::flush().
void l1t::demo::write | ( | const BoardData & | data, |
std::ostream & | file, | ||
const FileFormat | format | ||
) |
Definition at line 288 of file utilities.cc.
References APx, data, EMP, geometryDiff::file, mps_fire::i, cond::impl::to_string(), writeAPxFile(), writeEMPFile(), writeX20File(), and X20.
void l1t::demo::writeAPxFile | ( | const BoardData & | data, |
std::ostream & | file, | ||
const FileFormat | format | ||
) |
Definition at line 316 of file utilities.cc.
References data, geometryDiff::file, and mps_fire::i.
Referenced by write().
void l1t::demo::writeEMPFile | ( | const BoardData & | data, |
std::ostream & | file, | ||
const FileFormat | format | ||
) |
Definition at line 362 of file utilities.cc.
References data, TauDecayModes::dec, geometryDiff::file, and mps_fire::i.
Referenced by write().
void l1t::demo::writeX20File | ( | const BoardData & | data, |
std::ostream & | file, | ||
const FileFormat | format | ||
) |
Definition at line 401 of file utilities.cc.
Referenced by write().