ATLAS Offline Software
TVirtualManager.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef XAODROOTACCESS_TOOLS_TVIRTUALMANAGER_H
8 #define XAODROOTACCESS_TOOLS_TVIRTUALMANAGER_H
9 
10 // ROOT include(s):
11 #include <Rtypes.h>
12 
13 namespace xAOD {
14 
25 
26  public:
28  virtual ~TVirtualManager() {}
29 
31  virtual ::Int_t getEntry( ::Int_t getall = 0 ) = 0;
32 
34  virtual const void* object() const = 0;
36  virtual void* object() = 0;
38  virtual void setObject( void* obj ) = 0;
39 
41  virtual ::Bool_t create() = 0;
43  virtual ::Bool_t isSet() const = 0;
45  virtual void reset() = 0;
46 
47  }; // class TVirtualManager
48 
49 } // namespace xAOD
50 
51 #endif // XAODROOTACCESS_TOOLS_TVIRTUALMANAGER_H
xAOD::TVirtualManager::create
virtual ::Bool_t create()=0
Create the object for the current event.
xAOD::TVirtualManager::isSet
virtual ::Bool_t isSet() const =0
Check if the object was set for the current event.
xAOD::TVirtualManager::getEntry
virtual ::Int_t getEntry(::Int_t getall=0)=0
Function for updating the object in memory if needed.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::TVirtualManager
Interface class for the "manager classes".
Definition: TVirtualManager.h:24
xAOD::TVirtualManager::setObject
virtual void setObject(void *obj)=0
Function replacing the object being handled.
xAOD::TVirtualManager::object
virtual void * object()=0
Function getting a pointer to the object being handled.
xAOD::TVirtualManager::reset
virtual void reset()=0
Reset the object at the end of processing of an event.
xAOD::TVirtualManager::~TVirtualManager
virtual ~TVirtualManager()
Virtual destructor, to make vtable happy...
Definition: TVirtualManager.h:28
xAOD::TVirtualManager::object
virtual const void * object() const =0
Function getting a const pointer to the object being handled.
python.PyAthena.obj
obj
Definition: PyAthena.py:132