ATLAS Offline Software
Loading...
Searching...
No Matches
PileUpTimeEventIndex.h File Reference
#include <string>
#include <iostream>
Include dependency graph for PileUpTimeEventIndex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PileUpTimeEventIndex
 a struct encapsulating the identifier of a pile-up event More...

Functions

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

Function Documentation

◆ operator<<() [1/2]

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

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 & index )

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}