| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Functions
EventContext.h File Reference
`#include <iostream>`
`#include <unistd.h>`
`#include <limits>`
`#include "GaudiKernel/EventIDBase.h"`
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

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

Definition at line 89 of file EventContext.h.

89 {
90 if (ctx.valid()) {
91 return os << "s: " << ctx.slot() << " e: " << ctx.evt();
92 } else {
93 return os << "INVALID";
94 }
95 }
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:42

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

Definition at line 97 of file EventContext.h.

97 {
98 if (c != 0) {
99 return os << *c;
100 } else {
101 return os << "INVALID";
102 }
103 }
gaudirun.c
c
Definition: gaudirun.py:391