Go to the documentation of this file.
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();
const std::string & name() const
static uint64_t validStrToUint64(const std::string &token)
std::vector< FileData > buffers_
std::vector< std::vector< uint64_t > > readRows()
size_t size() const
number of rawdata objects stored
static boost::regex reFrame_
const std::vector< uint64_t > & link(uint32_t i) const
LinkMap::const_iterator const_iterator
LinkMap::value_type value_type
static boost::regex reQuadChan_
bool valid() const
reader status. valid() == 1 indicates that data was successfully read from file
static boost::regex reLink_
static boost::regex reValid_
LinkMap::const_iterator begin() const
const std::string & path() const
source file path
std::vector< std::string > names() const
raw data name collector
LinkMap::const_iterator end() const
Container::value_type value_type
std::vector< uint32_t > searchLinks()
const_iterator end()
vector's end iterator
std::string searchBoard()
std::vector< FileData >::const_iterator const_iterator
expose vector's const iterator
const FileData & get(size_t k) const
data getter via index
MP7FileReader(const std::string &path)
std::map< uint32_t, std::vector< uint64_t > > LinkMap
unsigned long long uint64_t
const_iterator begin()
vector's begin iterator
static boost::regex reBoard_