#include <L1GtPatternMap.h>
Public Types | |
typedef std::map< std::pair< int, int >, L1GtPatternLine > | LineMap |
Public Member Functions | |
LineMap::const_iterator | begin () const |
LineMap::iterator | begin () |
LineMap::const_iterator | end () const |
LineMap::iterator | end () |
L1GtPatternLine & | getLine (int eventNr, int bxNr) |
void | print (std::ostream &out) const |
Private Attributes | |
LineMap | m_lines |
The purpose of the L1GtPatternMap is to split input into pattern file lines identified by event/bunch crossing number.
Description: A class to map events to their proper pattern file lines
Implementation: <TODO: enter implementation details>
Description: see header file.
Implementation: <TODO: enter implementation details>
Definition at line 22 of file L1GtPatternMap.h.
typedef std::map<std::pair<int, int>, L1GtPatternLine> L1GtPatternMap::LineMap |
Definition at line 28 of file L1GtPatternMap.h.
L1GtPatternMap::LineMap::const_iterator L1GtPatternMap::begin | ( | void | ) | const |
Export iteration support.
Definition at line 25 of file L1GtPatternMap.cc.
References m_lines.
Referenced by L1GtPatternGenerator::packHfRecords(), and L1GtPatternWriter::writePatterns().
L1GtPatternMap::LineMap::iterator L1GtPatternMap::begin | ( | void | ) |
L1GtPatternMap::LineMap::const_iterator L1GtPatternMap::end | ( | void | ) | const |
Definition at line 26 of file L1GtPatternMap.cc.
References m_lines.
Referenced by L1GtPatternGenerator::packHfRecords(), and L1GtPatternWriter::writePatterns().
L1GtPatternMap::LineMap::iterator L1GtPatternMap::end | ( | void | ) |
L1GtPatternLine & L1GtPatternMap::getLine | ( | int | eventNr, |
int | bxNr | ||
) |
Returns the pattern line for a certain event/bx combination, creating it if neccessary.
Definition at line 20 of file L1GtPatternMap.cc.
References crabWrapper::key, and m_lines.
Referenced by L1GtPatternGenerator::extractGlobalTriggerData(), and extractRecordData().
void L1GtPatternMap::print | ( | std::ostream & | out | ) | const |
Debug dump.
Definition at line 31 of file L1GtPatternMap.cc.
References m_lines.
Referenced by L1GtPatternWriter::writePatterns().