8 #ifndef EventFilter_L1TRawToDigi_MP7FileReader_h 9 #define EventFilter_L1TRawToDigi_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;
68 const_iterator
begin() {
return buffers_.begin(); }
71 const_iterator
end() {
return buffers_.end(); }
74 size_t size()
const {
return buffers_.size(); }
80 std::vector<uint32_t> searchLinks();
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
static const uint16_t valid_
LinkMap::const_iterator begin() const
const std::string names[nVars_]
size_t size() const
number of rawdata objects stored
static boost::regex reLink_
Container::value_type value_type
std::map< uint32_t, std::vector< uint64_t > > LinkMap
LinkMap::const_iterator const_iterator
LinkMap::value_type value_type
friend class MP7FileReader
static boost::regex reQuadChan_
unsigned long long uint64_t
std::vector< FileData > buffers_
const std::string & name() const
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
bool valid() const
reader status. valid() == 1 indicates that data was successfully read from file
const_iterator begin()
vector's begin iterator