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;
65 const_iterator
begin() {
return buffers_.begin(); }
68 const_iterator
end() {
return buffers_.end(); }
71 size_t size()
const {
return buffers_.size(); }
76 std::vector<uint32_t> searchLinks();
78 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
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
std::map< uint32_t, std::vector< uint64_t > > LinkMap
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