| The Gaudi Framework v32r1 (f65d50dc)

Classes | Functions
EventContext.h File Reference
`#include "GaudiKernel/EventIDBase.h"`
`#include <any>`
`#include <cstddef>`
`#include <iostream>`
`#include <limits>`
Include dependency graph for EventContext.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | EventContext
| This class represents an entry point to all the event specific data. More...

## Functions
std::ostream & | operator<< (std::ostream &os, const EventContext &ctx)
std::ostream & | operator<< (std::ostream &os, const EventContext *c)

## Function Documentation

## ◆ operator<<() [1/2]

std::ostream& operator<< | ( | std::ostream & | os,
|  | const EventContext & | ctx
| ) |  |
| inline

Definition at line 117 of file EventContext.h.

117 {
118 if ( ctx.valid() ) {
119 os << "s: " << ctx.slot() << " e: " << ctx.evt();
120 if ( ctx.usesSubSlot() ) os << " sub: " << ctx.subSlot();
121 return os;
122 } else {
123 return os << "INVALID";
124 }
125 }
EventContext::slot
ContextID_t slot() const
Definition: EventContext.h:41
EventContext::evt
ContextEvt_t evt() const
Definition: EventContext.h:40
EventContext::valid
bool valid() const
Definition: EventContext.h:44
EventContext::subSlot
ContextID_t subSlot() const
Definition: EventContext.h:42
EventContext::usesSubSlot
bool usesSubSlot() const
Definition: EventContext.h:43

## ◆ operator<<() [2/2]

std::ostream& operator<< | ( | std::ostream & | os,
|  | const EventContext * | c
| ) |  |
| inline

Definition at line 127 of file EventContext.h.

127 {
128 if ( c ) {
129 return os << *c;
130 } else {
131 return os << "INVALID";
132 }
133 }
gaudirun.c
c
Definition: gaudirun.py:487