|
ATLAS Offline Software
|
Go to the documentation of this file.
28 const std::string&
type )
const {
31 ::TClass*
cl = ::TClass::GetClass(
type.c_str() );
33 ::Warning(
"xAOD::TPyStore::contains",
34 "Type name \"%s\" not known",
type.c_str() );
39 const std::type_info* ti =
cl->GetTypeInfo();
41 ::Warning(
"xAOD::TPyStore::contains",
42 "Type \"%s\" doesn't have a proper dictionary",
64 const std::string&
type )
const {
67 ::TClass*
cl = ::TClass::GetClass(
type.c_str() );
69 ::Warning(
"xAOD::TPyStore::isConst",
70 "Type name \"%s\" not known",
type.c_str() );
75 const std::type_info* ti =
cl->GetTypeInfo();
77 ::Warning(
"xAOD::TPyStore::isConst",
78 "Type \"%s\" doesn't have a proper dictionary",
105 const std::string&
type ) {
114 return StatusCode::SUCCESS;
#define RETURN_CHECK(CONTEXT, EXP)
Helper macro for checking return codes in a compact form in the code.
void dump() const
Print the contents of the store using a Python friendly function.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
::Bool_t isConst(const std::string &key, const std::string &type) const
Function checking if an object with a given key and type is constant.
::Bool_t contains(const std::string &key, const std::string &type) const
Function checking if an object with a given key and type is available.
::Bool_t contains(const std::string &key) const
Function checking if an object is available from the store.
::Bool_t isConst(const std::string &key) const
Function checking if an object with a given type is constant.
::StatusCode StatusCode
StatusCode definition for legacy code.
void print() const
Print the current contents of the transient store.
StatusCode record(T *obj, const std::string &key)
Add an object to the store.
StatusCode record(void *obj, const std::string &key, const std::string &type)
Record an object into the store in a typeless way.
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]