#include <iostream>
Go to the source code of this file.
Classes | |
class | EventID |
Functions | |
bool | operator< (const EventID &lhs, const EventID &rhs) |
bool | operator== (const EventID &lhs, const EventID &rhs) |
bool | operator> (const EventID &lhs, const EventID &rhs) |
bool | operator!= (const EventID &lhs, const EventID &rhs) |
bool | operator<= (const EventID &lhs, const EventID &rhs) |
bool | operator>= (const EventID &lhs, const EventID &rhs) |
template<class STR> | |
STR & | operator<< (STR &os, const EventID &rhs) |
std::istream & | operator>> (std::istream &is, EventID &rhs) |
Definition at line 72 of file EventID.h.
References EventID::m_event_number, and EventID::m_run_number.
00072 { 00073 // We are assuming that ALL events will have run and event numbers, 00074 // and never just a time stamp. 00075 return lhs.m_run_number<rhs.m_run_number || 00076 ( lhs.m_run_number==rhs.m_run_number && 00077 lhs.m_event_number<rhs.m_event_number) ; 00078 }
STR& operator<< | ( | STR & | os, | |
const EventID & | rhs | |||
) | [inline] |
Definition at line 97 of file EventID.h.
References EventID::m_event_number, and EventID::m_run_number.
00097 { 00098 os << "[R,E] = [" << rhs.m_run_number << "," << rhs.m_event_number << "]"; 00099 return os; 00100 }
Definition at line 79 of file EventID.h.
References EventID::m_event_number, and EventID::m_run_number.
00079 { 00080 return lhs.m_run_number==rhs.m_run_number && 00081 lhs.m_event_number==rhs.m_event_number ; 00082 }
std::istream& operator>> | ( | std::istream & | is, | |
EventID & | rhs | |||
) | [inline] |
Definition at line 102 of file EventID.h.
References EventID::m_event_number, and EventID::m_run_number.
00102 { 00103 is >> rhs.m_run_number >> rhs.m_event_number; 00104 return is; 00105 }