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::EMPv1, FileFormat::EMPv2, FileFormat::X2O } |
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 &) |
BoardData | readEMPFileV1 (std::istream &) |
BoardData | readEMPFileV2 (std::istream &) |
BoardData | readX2OFile (std::istream &) |
void | write (const BoardData &, const std::string &filePath, const FileFormat) |
void | write (const BoardData &, std::ostream &, const FileFormat) |
void | writeAPxFile (const BoardData &, std::ostream &) |
void | writeEMPFileV1 (const BoardData &, std::ostream &) |
void | writeEMPFileV2 (const BoardData &, std::ostream &) |
void | writeX2OFile (const BoardData &, std::ostream &) |
|
strong |
std::ostream & l1t::demo::operator<< | ( | std::ostream & | os, |
FileFormat | format | ||
) |
Definition at line 8 of file FileFormat.cc.
FileFormat l1t::demo::parseFileFormat | ( | const std::string & | s | ) |
Definition at line 73 of file utilities.cc.
References APx, EMPv1, EMPv2, alignCSCRings::s, and X2O.
Referenced by L1TCorrelatorLayer1PatternFileWriter::L1TCorrelatorLayer1PatternFileWriter(), and L1TCtL2EgProducer::PatternWriter::PatternWriter().
BoardData l1t::demo::read | ( | const std::string & | filePath, |
const FileFormat | format | ||
) |
Definition at line 98 of file utilities.cc.
References geometryDiff::file, dt4ml_dqm_sourceclient-live_cfg::filePath, recoMuon::in, and cms::cuda::stream.
Referenced by l1t::demo::BoardDataReader::BoardDataReader().
BoardData l1t::demo::read | ( | std::istream & | file, |
const FileFormat | format | ||
) |
Definition at line 115 of file utilities.cc.
References APx, EMPv1, EMPv2, geometryDiff::file, dqm-mbProfile::format, readAPxFile(), readEMPFileV1(), readEMPFileV2(), readX2OFile(), and X2O.
BoardData l1t::demo::readAPxFile | ( | std::istream & | file | ) |
Definition at line 132 of file utilities.cc.
References submitPVResolutionJobs::count, geometryDiff::file, dqmdumpme::indices, mps_splice::line, or, AlCaHLTBitMon_QueryRunRegistry::string, to_string(), and unpackBuffers-CaloStage2::token.
Referenced by read().
BoardData l1t::demo::readEMPFileV1 | ( | std::istream & | file | ) |
Definition at line 213 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::readEMPFileV2 | ( | std::istream & | file | ) |
Definition at line 283 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::readX2OFile | ( | std::istream & | file | ) |
Definition at line 360 of file utilities.cc.
Referenced by read().
void l1t::demo::write | ( | const BoardData & | data, |
const std::string & | filePath, | ||
const FileFormat | format | ||
) |
Definition at line 372 of file utilities.cc.
References gather_cfg::cout, data, HLT_2023v12_cff::distance, geometryDiff::file, dt4ml_dqm_sourceclient-live_cfg::filePath, MillePedeFileConverter_cfg::out, and cms::cuda::stream.
Referenced by l1t::demo::BoardDataWriter::flush().
void l1t::demo::write | ( | const BoardData & | data, |
std::ostream & | file, | ||
const FileFormat | format | ||
) |
Definition at line 397 of file utilities.cc.
References APx, data, EMPv1, EMPv2, geometryDiff::file, mps_fire::i, to_string(), writeAPxFile(), writeEMPFileV1(), writeEMPFileV2(), writeX2OFile(), and X2O.
void l1t::demo::writeAPxFile | ( | const BoardData & | data, |
std::ostream & | file | ||
) |
Definition at line 428 of file utilities.cc.
References data, geometryDiff::file, and mps_fire::i.
Referenced by write().
void l1t::demo::writeEMPFileV1 | ( | const BoardData & | data, |
std::ostream & | file | ||
) |
Definition at line 474 of file utilities.cc.
References data, TauDecayModes::dec, geometryDiff::file, and mps_fire::i.
Referenced by write().
void l1t::demo::writeEMPFileV2 | ( | const BoardData & | data, |
std::ostream & | file | ||
) |
Definition at line 513 of file utilities.cc.
References data, TauDecayModes::dec, geometryDiff::file, mps_fire::i, and x.
Referenced by write().
void l1t::demo::writeX2OFile | ( | const BoardData & | data, |
std::ostream & | file | ||
) |
Definition at line 552 of file utilities.cc.
Referenced by write().