#include <EventID.h>
Definition at line 28 of file EventID.h.
◆ number_type
◆ EventID() [1/4]
Definition at line 22 of file EventID.cxx.
22 :
23 m_run_number(0),
24 m_event_number(0),
25 m_time_stamp(0)
26{}
◆ EventID() [2/4]
Definition at line 28 of file EventID.cxx.
30 :
33 m_time_stamp(0)
34{}
number_type run_number(void) const
number_type event_number(void) const
◆ EventID() [3/4]
Definition at line 36 of file EventID.cxx.
39 :
43{}
number_type time_stamp(void) const
◆ EventID() [4/4]
EventID::EventID |
( |
const EventID & | id | ) |
|
|
explicit |
Definition at line 45 of file EventID.cxx.
45 :
46 m_run_number(id.m_run_number),
47 m_event_number(id.m_event_number),
48 m_time_stamp(id.m_time_stamp)
49{}
◆ ~EventID()
◆ event_number()
Definition at line 61 of file EventID.cxx.
62{
63 return m_event_number;
64}
◆ run_number()
Definition at line 55 of file EventID.cxx.
56{
57 return m_run_number;
58}
◆ time_stamp()
Definition at line 67 of file EventID.cxx.
68{
69 return m_time_stamp;
70}
◆ operator!=
Definition at line 86 of file EventID.h.
86 {
87 return !(lhs == rhs);
88}
◆ operator<
Definition at line 72 of file EventID.h.
72 {
73
74
75 return lhs.m_run_number<rhs.m_run_number ||
76 ( lhs.m_run_number==rhs.m_run_number &&
77 lhs.m_event_number<rhs.m_event_number) ;
78}
◆ operator<<
template<class STR >
STR & operator<< |
( |
STR & | os, |
|
|
const EventID & | rhs ) |
|
friend |
Definition at line 97 of file EventID.h.
97 {
98 os << "[R,E] = [" << rhs.m_run_number << "," << rhs.m_event_number << "]";
99 return os;
100}
◆ operator<=
Definition at line 89 of file EventID.h.
89 {
90 return !(lhs > rhs);
91}
◆ operator==
Definition at line 79 of file EventID.h.
79 {
80 return lhs.m_run_number==rhs.m_run_number &&
81 lhs.m_event_number==rhs.m_event_number ;
82}
◆ operator>
Definition at line 83 of file EventID.h.
83 {
84 return !( (lhs < rhs) || (lhs == rhs));
85}
◆ operator>=
Definition at line 92 of file EventID.h.
92 {
93 return !(lhs < rhs);
94}
◆ operator>>
std::istream & operator>> |
( |
std::istream & | is, |
|
|
EventID & | rhs ) |
|
friend |
Definition at line 102 of file EventID.h.
102 {
103 is >> rhs.m_run_number >> rhs.m_event_number;
104 return is;
105}
The documentation for this class was generated from the following files: