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

Go to the source code of this file.

Classes

class  xAOD::TIncident
 Class describing a certain "incident" that is communicated to user code. More...

Namespaces

namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
namespace  xAOD::IncidentType
 Namespace mirroring Gaudi's IncidentType namespace.

Functions

std::ostream & operator<< (std::ostream &out, const xAOD::TIncident &inc)
 Convenience print operator for xAOD::TIncident objects.

Variables

static const ::Int_t xAOD::IncidentType::BeginInputFile = 1
 A new input file was just opened.
static const ::Int_t xAOD::IncidentType::BeginEvent = 2
 A new event was just loaded.
static const ::Int_t xAOD::IncidentType::MetaDataStop = 3
 The metadata for the output file should be written out.
static const ::Int_t xAOD::IncidentType::EndInputFile = 4
 The processing of an input file has finished.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & out,
const xAOD::TIncident & inc )

Convenience print operator for xAOD::TIncident objects.

Definition at line 33 of file TIncident.cxx.

33 {
34
35 // Print a prefix:
36 out << "xAOD::TIncident(";
37
38 // Print the type of the incident:
39 switch( inc.type() ) {
40
45
46 default:
47 out << "<unknown>";
48 break;
49 }
50
51 // Print a postfix:
52 out << ")";
53
54 // Return the same output stream:
55 return out;
56}
#define PRINT_TYPE(TYPE)
Helper macro for printing the incident types as a string.
Definition TIncident.cxx:28
::Int_t type() const
Return the type of the incident.
Definition TIncident.cxx:20
static const ::Int_t BeginEvent
A new event was just loaded.
Definition TIncident.h:29
static const ::Int_t EndInputFile
The processing of an input file has finished.
Definition TIncident.h:40
static const ::Int_t MetaDataStop
The metadata for the output file should be written out.
Definition TIncident.h:31
static const ::Int_t BeginInputFile
A new input file was just opened.
Definition TIncident.h:27