8 #ifndef MP7FileReader_h
9 #define MP7FileReader_h
19 #include <boost/regex.hpp>
24 typedef std::map< uint32_t, std::vector<uint64_t> >
LinkMap;
30 const std::vector<uint64_t>&
link ( uint32_t
i )
const;
34 LinkMap::const_iterator
begin()
const {
return links_.begin(); }
35 LinkMap::const_iterator
end()
const {
return links_.end(); }
65 std::vector<std::string>
names()
const;
82 std::vector< std::vector<uint64_t> >
readRows();
static boost::regex reBoard_
static boost::regex reFrame_
const_iterator end()
vector's end iterator
const std::string & path() const
source file path
std::vector< std::vector< uint64_t > > readRows()
LinkMap::const_iterator begin() const
size_t size() const
number of rawdata objects stored
static boost::regex reLink_
Container::value_type value_type
MP7FileReader(const std::string &path)
std::map< uint32_t, std::vector< uint64_t > > LinkMap
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
std::vector< std::string > names() const
raw data name collector
LinkMap::const_iterator end() const
static boost::regex reValid_
std::vector< FileData >::const_iterator const_iterator
expose vector's const iterator
const std::vector< uint64_t > & link(uint32_t i) const
std::vector< uint32_t > searchLinks()
bool valid() const
reader status. valid() == 1 indicates that data was successfully read from file
std::string searchBoard()
const_iterator begin()
vector's begin iterator