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 
27  class TActiveEvent {
28 
30  friend class TEvent;
31 
32  public:
34  static TVirtualEvent* event();
35 
36  private:
38  static void setEvent( TVirtualEvent* ptr );
39 
40  }; // class TActiveEvent
41 
42 } // namespace xAOD
43 
44 #endif // XAODROOTACCESSINTERFACES_TACTIVEEVENT_H
xAOD::TVirtualEvent
Base interface for getting objects out of the input file.
Definition: TVirtualEvent.h:32
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:27
xAOD::TEvent
Tool for accessing xAOD files outside of Athena.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:85