ATLAS Offline Software
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 
17 namespace 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 
76 std::ostream& operator<< ( std::ostream& out, const xAOD::TIncident& inc );
77 
78 #endif // XAODROOTACCESS_TOOLS_TINCIDENT_H
xAOD::TIncident::TIncident
TIncident(::Int_t type)
Constructor with a type.
Definition: TIncident.cxx:15
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::TIncident::type
::Int_t type() const
Return the type of the incident.
Definition: TIncident.cxx:20
xAOD::TIncident::m_type
::Int_t m_type
The type of this incident.
Definition: TIncident.h:69
xAOD::TIncident
Class describing a certain "incident" that is communicated to user code.
Definition: TIncident.h:58
operator<<
std::ostream & operator<<(std::ostream &out, const xAOD::TIncident &inc)
Convenience print operator for xAOD::TIncident objects.
Definition: TIncident.cxx:33