1 #ifndef SIO_RunEventMap_H
2 #define SIO_RunEventMap_H 1
28 bool operator < (
const RunEvent& r0,
const RunEvent& other) ;
46 static constexpr
const int npos = -1 ;
90 template <
class InputIterator>
RunEvent minRunEvent() const
RunEvent(int run, int evt)
const_iterator begin() const
int getNumberOfRunRecords() const
Helper struct that stores run and event positions in the file.
Map that holds positions of Run and Event records.
std::ostream & operator<<(std::ostream &os, const LCIORandomAccess &ra)
long64 getPosition(const RunEvent &re)
Return the position of the specified Event record or Run record respectively (if EventNum == -1 )...
static constexpr const int npos
int getNumberOfEventRecords() const
void add(const RunEvent &re, long64 pos)
Add a new entry to the event map - if the RunEvent already exists the new position will be stored...
map_type::iterator iterator
void insert(InputIterator b, InputIterator e)
friend std::ostream & operator<<(std::ostream &os, const RunEventMap &rm)
const_iterator end() const
std::map< RunEvent, long64 > map_type
RunEvent maxRunEvent() const
map_type::const_iterator const_iterator
bool operator<(const LCIORandomAccess &ra0, const LCIORandomAccess &other)