ATLAS Offline Software
Loading...
Searching...
No Matches
TPyStore.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_TPYSTORE_H
6#define XAODROOTACCESS_TPYSTORE_H
7
8// Local include(s).
10
11// System include(s).
12#include <string>
13
14namespace xAOD {
15
27class TPyStore : public TStore {
28
29 public:
31 using TStore::TStore;
32
34 bool pyContains(const std::string& key, const std::string& type) const;
36 bool pyIsConst(const std::string& key, const std::string& type) const;
37
39 StatusCode pyRecord(void* obj, const std::string& key,
40 const std::string& type);
41
43 void dump() const;
44
45}; // class TPyStore
46
47} // namespace xAOD
48
49#endif // XAODROOTACCESS_TPYSTORE_H
Python interface to xAOD::TStore.
Definition TPyStore.h:27
void dump() const
Print the contents of the store using a Python friendly function.
Definition TPyStore.cxx:121
StatusCode pyRecord(void *obj, const std::string &key, const std::string &type)
Record an object into the store in a typeless way.
Definition TPyStore.cxx:103
bool pyIsConst(const std::string &key, const std::string &type) const
Function checking if an object with a given key and type is constant.
Definition TPyStore.cxx:63
bool pyContains(const std::string &key, const std::string &type) const
Function checking if an object with a given key and type is available.
Definition TPyStore.cxx:28
TStore()
Inherit the constructor(s) of xAOD::TStore.
Definition TStore.cxx:24
TStore()
Default constructor.
Definition TStore.cxx:24
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.