16 else if( other.
EvtNum < 0 )
return false ;
36 if( re.EvtNum > -1 ) {
46 p.first->second = pos ;
83 os <<
" ------- RunEventMap : " <<
std::endl ;
84 for(
auto it = rm.
begin() ; it != rm.
end() ; ++it ) {
RunEvent minRunEvent() 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
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...
RunEvent maxRunEvent() const
bool operator<(const LCIORandomAccess &ra0, const LCIORandomAccess &other)