ATLAS Offline Software
TActiveEvent.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 #ifndef XAODROOTACCESSINTERFACES_TACTIVEEVENT_H
8 #define XAODROOTACCESSINTERFACES_TACTIVEEVENT_H
9 
10 namespace xAOD {
11 
12  // Forward declaration(s):
13  class TVirtualEvent;
14  class TEvent;
15  namespace Experimental {
16  class REvent;
17  }
18 
30  class TActiveEvent {
31 
33  friend class TEvent;
34  friend class Experimental::REvent;
35 
36  public:
38  static TVirtualEvent* event();
39 
40  private:
42  static void setEvent( TVirtualEvent* ptr );
43 
44  }; // class TActiveEvent
45 
46 } // namespace xAOD
47 
48 #endif // XAODROOTACCESSINTERFACES_TACTIVEEVENT_H
xAOD::TVirtualEvent
Base interface for getting objects out of the input file.
Definition: TVirtualEvent.h:32
xAOD::Experimental::REvent
Tool for accessing xAOD files outside of Athena, version RNTuple.
Definition: REvent.h:105
xAOD::TActiveEvent::setEvent
static void setEvent(TVirtualEvent *ptr)
Set the active event pointer.
Definition: TActiveEvent.cxx:21
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
xAOD::TActiveEvent::event
static TVirtualEvent * event()
Access the currently active TVirtualEvent object.
Definition: TActiveEvent.cxx:16
xAOD::TActiveEvent
Helper class for finding the active TVirtualEvent object.
Definition: TActiveEvent.h:30
xAOD::TEvent
Tool for accessing xAOD files outside of Athena.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:85