ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
xAODRootAccess
xAODRootAccess
RPyEvent.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef XAODROOTACCESS_RPYEVENT_H
14
#define XAODROOTACCESS_RPYEVENT_H
15
16
17
#include "
xAODRootAccess/REvent.h
"
18
#include "Python.h"
19
20
21
namespace
xAOD::Experimental
{
22
23
31
class
RPyEvent
:
public
REvent
{
32
33
public
:
34
using
REvent::REvent
;
35
37
PyObject
*
pyRetrieve
(
const
std::string& key);
38
40
bool
pyContains
(
const
std::string& key,
const
std::string&
type
);
42
bool
pyTransientContains
(
const
std::string& key,
43
const
std::string&
type
)
const
;
44
};
45
46
47
}
// namespace xAOD::Experimental
48
49
50
#endif
// not XAODROOTACCESS_RPYEVENT_H
PyObject
_object PyObject
Definition
IPyComponent.h:27
REvent.h
xAOD::Experimental::REvent::REvent
REvent()
Default constructor.
Definition
REvent.cxx:144
xAOD::Experimental::RPyEvent
Python interface to xAOD::REvent.
Definition
RPyEvent.h:31
xAOD::Experimental::RPyEvent::pyTransientContains
bool pyTransientContains(const std::string &key, const std::string &type) const
Function checking if an object is already in memory.
Definition
RPyEvent.cxx:90
xAOD::Experimental::RPyEvent::pyContains
bool pyContains(const std::string &key, const std::string &type)
Function checking if an object is available from the store.
Definition
RPyEvent.cxx:66
xAOD::Experimental::RPyEvent::REvent
REvent()
Default constructor.
Definition
REvent.cxx:144
xAOD::Experimental::RPyEvent::pyRetrieve
PyObject * pyRetrieve(const std::string &key)
Return the object with a given key as a PyObject.
Definition
RPyEvent.cxx:21
xAOD::Experimental
Definition
RAuxFieldManager.cxx:16
type
Generated on
for ATLAS Offline Software by
1.17.0