ATLAS Offline Software
Loading...
Searching...
No Matches
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
18#include "Python.h"
19
20
21namespace xAOD::Experimental {
22
23
31class 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
_object PyObject
REvent()
Default constructor.
Definition REvent.cxx:73
Python interface to xAOD::REvent.
Definition RPyEvent.h:31
bool pyTransientContains(const std::string &key, const std::string &type) const
Function checking if an object is already in memory.
Definition RPyEvent.cxx:90
bool pyContains(const std::string &key, const std::string &type)
Function checking if an object is available from the store.
Definition RPyEvent.cxx:66
REvent()
Default constructor.
Definition REvent.cxx:73
PyObject * pyRetrieve(const std::string &key)
Return the object with a given key as a PyObject.
Definition RPyEvent.cxx:21