|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "GaudiKernel/Algorithm.h"
27 const Gaudi::Algorithm *parentAlg =
28 dynamic_cast< const Gaudi::Algorithm*
>(
parent());
33 return StatusCode::SUCCESS;
44 return StatusCode::SUCCESS;
54 auto p_event_format = std::make_unique< xAOD::EventFormat >();
55 event_format = p_event_format.
get();
66 return StatusCode::SUCCESS;
73 const std::string&
key = elem.getKey();
74 const CLID classID = elem.getPrimaryClassID();
78 bool ignoreObject =
false;
79 for (
const std::string& ignorePattern :
m_ignoreKeys.value()) {
85 if (ignoreObject)
continue;
104 bool ignoreObject =
true;
105 for (
const std::string& typePattern :
m_typeNames.value()) {
107 ignoreObject =
false;
111 if (ignoreObject)
continue;
117 lookUpHash(classID, elem.getClassIDs(), elem.getHashes());
121 std::lock_guard< std::mutex > lock(
m_efMutex);
130 <<
", typeName = \"" <<
typeName <<
"\""
131 <<
", hash = 0x" << std::hex << std::setw(8)
132 << std::setfill(
'0') <<
hash);
139 return StatusCode::SUCCESS;
145 const std::set<CLID>& classIDs,
146 const std::vector<sgkey_t>&
hashes)
const {
148 if (classIDs.size() !=
hashes.size())
149 throw(std::runtime_error(
"CLID and hash sets not equal in size"));
151 auto it = classIDs.find(primaryClassID);
154 if (
it == classIDs.end())
155 throw(std::range_error(
"Primary class ID not in list of class IDs"));
#define ATH_MSG_VERBOSE(x)
::StatusCode StatusCode
StatusCode definition for legacy code.
uint32_t CLID
The Class ID type.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
#define ATH_MSG_WARNING(x)
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space