ATLAS Offline Software
TActiveEvent.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2025 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  class Event;
16 
28  class TActiveEvent {
29 
31  friend class TEvent;
32  friend class Event;
33 
34  public:
36  static TVirtualEvent* event();
37 
38  private:
40  static void setEvent( TVirtualEvent* ptr );
41 
42  }; // class TActiveEvent
43 
44 } // namespace xAOD
45 
46 #endif // XAODROOTACCESSINTERFACES_TACTIVEEVENT_H
xAOD::TVirtualEvent
Base interface for getting objects out of the input file.
Definition: TVirtualEvent.h:26
xAOD::TActiveEvent::setEvent
static void setEvent(TVirtualEvent *ptr)
Set the active event pointer.
Definition: TActiveEvent.cxx:21
Event
Definition: trigbs_orderedMerge.cxx:42
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:28
xAOD::Event
Base class for the event (xAOD::TEvent and xAOD::REvent) classes.
Definition: Event.h:59
xAOD::TEvent
Tool for accessing xAOD files outside of Athena.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:85