8 #ifndef EventFilter_L1TRawToDigi_MP7FileReader_h 9 #define EventFilter_L1TRawToDigi_MP7FileReader_h 19 #include <boost/regex.hpp> 23 typedef std::map<uint32_t, std::vector<uint64_t> >
LinkMap;
29 const std::vector<uint64_t>&
link(uint32_t
i)
const;
33 LinkMap::const_iterator
begin()
const {
return links_.begin(); }
34 LinkMap::const_iterator
end()
const {
return links_.end(); }
62 std::vector<std::string>
names()
const;
78 std::vector<std::vector<uint64_t> >
readRows();
static boost::regex reBoard_
const std::vector< uint64_t > & link(uint32_t i) const
bool valid() const
reader status. valid() == 1 indicates that data was successfully read from file
const std::string & path() const
source file path
static boost::regex reFrame_
const_iterator end()
vector's end iterator
std::vector< std::vector< uint64_t > > readRows()
LinkMap::const_iterator begin() const
static boost::regex reLink_
Container::value_type value_type
MP7FileReader(const std::string &path)
LinkMap::const_iterator const_iterator
LinkMap::value_type value_type
static uint64_t validStrToUint64(const std::string &token)
static boost::regex reQuadChan_
unsigned long long uint64_t
std::vector< FileData > buffers_
const std::string & name() const
size_t size() const
number of rawdata objects stored
static boost::regex reValid_
std::vector< FileData >::const_iterator const_iterator
expose vector's const iterator
LinkMap::const_iterator end() const
std::map< uint32_t, std::vector< uint64_t > > LinkMap
std::vector< std::string > names() const
raw data name collector
std::vector< uint32_t > searchLinks()
std::string searchBoard()
const_iterator begin()
vector's begin iterator