Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
canvas
canvas
Persistency
Provenance
EventID.cc
Go to the documentation of this file.
1
#include "
canvas/Persistency/Provenance/EventID.h
"
2
3
#include <ostream>
4
5
std::ostream&
6
art::operator<<
(std::ostream& os,
EventID
const
& iID)
7
{
8
os << iID.
subRun_
<<
" event: "
;
9
if
(iID.
isFlush
()) {
10
os <<
"FLUSH"
;
11
}
else
if
(iID.
isValid
()) {
12
os << iID.
event_
;
13
}
else
{
14
os <<
"INVALID"
;
15
}
16
return
os;
17
}
art::EventID::isValid
bool isValid() const
Definition:
EventID.h:122
EventID.h
art::EventID::isFlush
bool isFlush() const
Definition:
EventID.h:128
art::operator<<
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
Definition:
GroupSelector.cc:62
art::EventID::subRun_
SubRunID subRun_
Definition:
EventID.h:75
art::EventID::event_
EventNumber_t event_
Definition:
EventID.h:76
art::EventID
Definition:
EventID.h:20
Generated by
1.8.11