Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
EventIDRange.cpp
Go to the documentation of this file.
2 
3 /*****************************************************************************
4  *
5  * EventIDRange.cpp
6  *
7  * Author: Charles Leggett
8  *
9  * Validity Range object. Holds two EventIDBases (start and stop)
10  *
11  *****************************************************************************/
12 
14  : // defauld constructor: Range covering everything
15  m_start( 0, 0, 0, 0, 0, 0 )
16  , m_stop( EventIDBase::UNDEFNUM, EventIDBase::UNDEFEVT, EventIDBase::UNDEFNUM, EventIDBase::UNDEFNUM,
17  EventIDBase::UNDEFNUM, 0 ) {}
18 
19 EventIDRange::EventIDRange( const EventIDBase& start, const EventIDBase& stop ) : m_start( start ), m_stop( stop ) {}
20 
22  if ( this != &r ) {
23  m_start = r.m_start;
24  m_stop = r.m_stop;
25  }
26  return *this;
27 }
28 
30  os << (std::string)rhs;
31  return os;
32 }
friend std::ostream & operator<<(std::ostream &os, const EventIDRange &rhs)
EventIDBase m_stop
Definition: EventIDRange.h:64
STL class.
Event ID Range object.
Definition: EventIDRange.h:23
EventIDRange & operator=(const EventIDRange &r)
EventIDBase stop() const
Definition: EventIDRange.h:31
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Definition: EventIDBase.h:56
EventIDBase m_start
Definition: EventIDRange.h:63
EventIDBase start() const
Definition: EventIDRange.h:30
STL class.