ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
xAODRootAccess
xAODRootAccess
TPyEvent.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
//
3
// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4
//
5
#ifndef XAODROOTACCESS_TPYEVENT_H
6
#define XAODROOTACCESS_TPYEVENT_H
7
8
// Local include(s).
9
#include "
xAODRootAccess/TEvent.h
"
10
11
// Python include(s).
12
#include <Python.h>
13
14
// System include(s).
15
#include <string>
16
17
namespace
xAOD
{
18
29
class
TPyEvent
:
public
TEvent
{
30
31
public
:
37
TPyEvent
(
EAuxMode
mode =
kClassAccess
);
38
40
PyObject
*
pyRetrieve
(
const
std::string& key);
41
43
bool
pyContains
(
const
std::string& key,
const
std::string&
type
);
45
bool
pyTransientContains
(
const
std::string& key,
46
const
std::string&
type
)
const
;
47
49
StatusCode
pyRecord
(
void
* obj,
const
std::string& key,
50
const
std::string&
type
);
51
52
};
// class TPyEvent
53
54
}
// namespace xAOD
55
56
#endif
// XAODROOTACCESS_TPYEVENT_H
TEvent.h
PyObject
_object PyObject
Definition
IPyComponent.h:27
xAOD::TEvent::EAuxMode
EAuxMode
Auxiliary store "mode".
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:71
xAOD::TEvent::kClassAccess
@ kClassAccess
Access auxiliary data using the aux containers.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:73
xAOD::TEvent::TEvent
TEvent(EAuxMode mode=kClassAccess)
Default constructor.
Definition
Control/xAODRootAccess/Root/TEvent.cxx:69
xAOD::TPyEvent::pyContains
bool pyContains(const std::string &key, const std::string &type)
Function checking if an object is available from the store.
Definition
TPyEvent.cxx:64
xAOD::TPyEvent::pyRecord
StatusCode pyRecord(void *obj, const std::string &key, const std::string &type)
Add an output object to the event.
Definition
TPyEvent.cxx:123
xAOD::TPyEvent::pyTransientContains
bool pyTransientContains(const std::string &key, const std::string &type) const
Function checking if an object is already in memory.
Definition
TPyEvent.cxx:87
xAOD::TPyEvent::pyRetrieve
PyObject * pyRetrieve(const std::string &key)
Return the object with a given key as a PyObject.
Definition
TPyEvent.cxx:20
xAOD::TPyEvent::TPyEvent
TPyEvent(EAuxMode mode=kClassAccess)
Constructor with an access mode.
Definition
TPyEvent.cxx:18
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
type
Generated on
for ATLAS Offline Software by
1.17.0