The Gaudi Framework  v37r1 (a7f61348)
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
 

Functions

std::ostreamoperator<< (std::ostream &os, const EventContext &ctx)
 
std::ostreamoperator<< (std::ostream &os, const EventContext *c)
 

Function Documentation

◆ operator<<() [1/2]

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

Definition at line 141 of file EventContext.h.

141  {
142  if ( ctx.valid() ) {
143  os << "s: " << ctx.slot() << " e: " << ctx.evt();
144  if ( ctx.usesSubSlot() ) os << " sub: " << ctx.subSlot();
145  return os;
146  } else {
147  return os << "INVALID";
148  }
149 }

◆ operator<<() [2/2]

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

Definition at line 151 of file EventContext.h.

151  {
152  if ( c ) {
153  return os << *c;
154  } else {
155  return os << "INVALID";
156  }
157 }
gaudirun.c
c
Definition: gaudirun.py:527
GaudiPython.Pythonizations.ctx
ctx
Definition: Pythonizations.py:588