2 #ifndef L1Trigger_DemonstratorTools_BoardDataReader_h 3 #define L1Trigger_DemonstratorTools_BoardDataReader_h 24 typedef std::map<LinkId, std::pair<ChannelSpec, std::vector<size_t>>>
ChannelMap_t;
27 const std::vector<std::string>&,
28 const size_t framesPerBX,
30 const size_t emptyFramesAtStart,
34 const std::vector<std::string>&,
35 const size_t framesPerBX,
37 const size_t emptyFramesAtStart,
39 const std::map<std::string, ChannelSpec>&);
45 const std::map<std::string, ChannelSpec>&);
62 std::vector<EventData>::const_iterator
eventIt_;
BoardDataReader(FileFormat, const std::vector< std::string > &, const size_t framesPerBX, const size_t tmux, const size_t emptyFramesAtStart, const ChannelMap_t &)
size_t emptyFramesAtStart_
Logical ID for link within any given time slice (e.g. ["tracks", 0] -> ["tracks", 17] for links from ...
static ChannelMap_t mergeMaps(const std::map< LinkId, std::vector< size_t >> &, const std::map< std::string, ChannelSpec > &)
std::vector< std::string > fileNames_
std::map< LinkId, std::pair< ChannelSpec, std::vector< size_t > > > ChannelMap_t
std::vector< EventData >::const_iterator eventIt_
std::vector< EventData > events_
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).