ATLAS Offline Software
Loading...
Searching...
No Matches
PileUpTimeEventIndex.cxx File Reference
#include "GaudiKernel/GaudiException.h"
#include "GaudiKernel/MsgStream.h"
#include "EventInfo/PileUpTimeEventIndex.h"
#include <cassert>
#include <iostream>
Include dependency graph for PileUpTimeEventIndex.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const PileUpTimeEventIndex &idx)
MsgStream & operator<< (MsgStream &os, const PileUpTimeEventIndex &idx)

Function Documentation

◆ operator<<() [1/2]

MsgStream & operator<< ( MsgStream & os,
const PileUpTimeEventIndex & idx )

Definition at line 93 of file PileUpTimeEventIndex.cxx.

95 {
96 return os << "event xing time (ns): " << idx.time()
97 << " - PileUpEventInfo subevt index: " << idx.index()
98 << " - PileupEventInfo subevt type: " << PileUpTimeEventIndex::typeName(idx.type());
99}
static const std::string & typeName(PileUpType typ)

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & os,
const PileUpTimeEventIndex & idx )

Definition at line 85 of file PileUpTimeEventIndex.cxx.

87 {
88 return os << "event xing time (ns): " << idx.time()
89 << " - PileUpEventInfo subevt index: " << idx.index()
90 << " - PileupEventInfo subevt type: " << PileUpTimeEventIndex::typeName(idx.type());
91}