ATLAS Offline Software
TPyEvent.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 //
3 // Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 //
5 #ifndef XAODROOTACCESS_TPYEVENT_H
6 #define XAODROOTACCESS_TPYEVENT_H
7 
8 // System include(s):
9 #include <string>
10 
11 // ROOT include(s):
12 #include <Rtypes.h>
13 
14 // Local include(s):
15 #include "xAODRootAccess/TEvent.h"
16 
17 namespace xAOD {
18 
29  class TPyEvent : public TEvent {
30 
31  public:
34 
36  ::Bool_t contains( const std::string& key, const std::string& type );
38  ::Bool_t transientContains( const std::string& key,
39  const std::string& type ) const;
40 
42  StatusCode record( int dummy, void* obj, const std::string& key,
43  const std::string& type,
44  ::Int_t basketSize = 32000, ::Int_t splitLevel = 0 );
45 
46  }; // class TPyEvent
47 
48 } // namespace xAOD
49 
50 #endif // XAODROOTACCESS_TPYEVENT_H
xAOD::TEvent::kUndefinedAccess
@ kUndefinedAccess
Undefined, to be selected by the object.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:102
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::TPyEvent::TPyEvent
TPyEvent(EAuxMode mode=kUndefinedAccess)
Constructor with an access mode - only that one is used from the python TPyEvent.
Definition: TPyEvent.h:33
TEvent.h
python.xAODType.dummy
dummy
Definition: xAODType.py:4
Preparation.mode
mode
Definition: Preparation.py:94
xAOD::TPyEvent::record
StatusCode record(int dummy, void *obj, const std::string &key, const std::string &type, ::Int_t basketSize=32000, ::Int_t splitLevel=0)
Add an output object to the event.
Definition: TPyEvent.cxx:79
xAOD::TEvent::EAuxMode
EAuxMode
Auxiliary store "mode".
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:98
xAOD::TPyEvent::transientContains
::Bool_t transientContains(const std::string &key, const std::string &type) const
Function checking if an object is already in memory.
Definition: TPyEvent.cxx:37
xAOD::TPyEvent::contains
::Bool_t contains(const std::string &key, const std::string &type)
Function checking if an object is available from the store.
Definition: TPyEvent.cxx:13
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::TPyEvent
Python interface to xAOD::TEvent.
Definition: TPyEvent.h:29
python.PyAthena.obj
obj
Definition: PyAthena.py:132
xAOD::TEvent
Tool for accessing xAOD files outside of Athena.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:84
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37