The Gaudi Framework
master (181af51f)
Loading...
Searching...
No Matches
EventIDRange.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#include <
GaudiKernel/EventIDRange.h
>
12
13
/*****************************************************************************
14
*
15
* EventIDRange.cpp
16
*
17
* Author: Charles Leggett
18
*
19
* Validity Range object. Holds two EventIDBases (start and stop)
20
*
21
*****************************************************************************/
22
23
EventIDRange::EventIDRange
()
24
:
// defauld constructor: Range covering everything
25
m_start
( 0, 0, 0, 0, 0, 0 )
26
,
m_stop
(
EventIDBase
::UNDEFNUM,
EventIDBase
::UNDEFEVT,
EventIDBase
::UNDEFNUM,
EventIDBase
::UNDEFNUM,
27
EventIDBase
::UNDEFNUM, 0 ) {}
28
29
EventIDRange::EventIDRange
(
const
EventIDBase
&
start
,
const
EventIDBase
&
stop
) :
m_start
(
start
),
m_stop
(
stop
) {}
30
31
EventIDRange
&
EventIDRange::operator=
(
const
EventIDRange
& r ) {
32
if
(
this
!= &r ) {
33
m_start
= r.
m_start
;
34
m_stop
= r.
m_stop
;
35
}
36
return
*
this
;
37
}
38
39
std::ostream&
operator<<
( std::ostream& os,
const
EventIDRange
& rhs ) {
40
os << (std::string)rhs;
41
return
os;
42
}
operator<<
std::ostream & operator<<(std::ostream &os, const EventIDRange &rhs)
Definition
EventIDRange.cpp:39
EventIDRange.h
Event Range object.
EventIDBase
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Definition
EventIDBase.h:65
EventIDRange::start
const EventIDBase & start() const
Definition
EventIDRange.h:39
EventIDRange::m_stop
EventIDBase m_stop
Definition
EventIDRange.h:76
EventIDRange::operator=
EventIDRange & operator=(const EventIDRange &r)
Definition
EventIDRange.cpp:31
EventIDRange::EventIDRange
EventIDRange()
Definition
EventIDRange.cpp:23
EventIDRange::stop
const EventIDBase & stop() const
Definition
EventIDRange.h:40
EventIDRange::m_start
EventIDBase m_start
Definition
EventIDRange.h:75
GaudiKernel
src
Lib
EventIDRange.cpp
Generated on Wed Oct 8 2025 09:53:37 for The Gaudi Framework by
1.13.1