ATLAS Offline Software
Loading...
Searching...
No Matches
TIncident.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: TIncident.h 676314 2015-06-18 12:07:05Z krasznaa $
8#ifndef XAODROOTACCESS_TOOLS_TINCIDENT_H
9#define XAODROOTACCESS_TOOLS_TINCIDENT_H
10
11// System include(s):
12#include <iosfwd>
13
14// ROOT include(s):
15#include <Rtypes.h>
16
17namespace xAOD {
18
24 namespace IncidentType {
25
27 static const ::Int_t BeginInputFile = 1;
29 static const ::Int_t BeginEvent = 2;
31 static const ::Int_t MetaDataStop = 3;
40 static const ::Int_t EndInputFile = 4;
41
42 } // namespace IncidentType
43
58 class TIncident {
59
60 public:
62 TIncident( ::Int_t type );
63
65 ::Int_t type() const;
66
67 private:
69 ::Int_t m_type;
70
71 }; // class TIncident
72
73} // namespace xAOD
74
76std::ostream& operator<< ( std::ostream& out, const xAOD::TIncident& inc );
77
78#endif // XAODROOTACCESS_TOOLS_TINCIDENT_H
std::ostream & operator<<(std::ostream &out, const xAOD::TIncident &inc)
Convenience print operator for xAOD::TIncident objects.
Definition TIncident.cxx:33
Class describing a certain "incident" that is communicated to user code.
Definition TIncident.h:58
TIncident(::Int_t type)
Constructor with a type.
Definition TIncident.cxx:15
::Int_t type() const
Return the type of the incident.
Definition TIncident.cxx:20
::Int_t m_type
The type of this incident.
Definition TIncident.h:69
Namespace mirroring Gaudi's IncidentType namespace.
Definition TIncident.h:24
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
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.