38 }
catch (
const std::exception& ex) {
39 msg << MSG::DEBUG <<
"Caught " <<
typeid(ex).name() <<
": " << ex.what() <<
endmsg;
49 }
catch (
const std::exception& ex) {
50 msg << MSG::DEBUG <<
"Caught " <<
typeid(ex).name() <<
": " << ex.what() <<
endmsg;
59 return StatusCode::FAILURE;
61 return StatusCode::SUCCESS;
70 msg << MSG::INFO <<
"----------" <<
endmsg;
75 msg <<
"Caller Hash:" << theCallerHash <<
endmsg;
77 msg <<
"Store Hash:" << theStoreHash <<
endmsg;
89 if (proxy) view =
dynamic_cast<const SG::View*
>(proxy);
92 msg << MSG::ERROR <<
"Unable to obtain IProxyDict from Atlas::ExtendedEventContext" <<
endmsg;
96 const size_t saveSlot = (slotOverride >= 0 ? slotOverride : context.slot());
A "view" of the event store (IProxyDict).
static HLTHash string2hash(const std::string &, const std::string &category="TE")
hash function translating TE names into identifiers
const ExtendedEventContext & getExtendedEventContext(const EventContext &ctx)
Retrieve an extended context from a context object.
bool hasExtendedEventContext(const EventContext &ctx)
Test whether a context object has an extended context installed.
static AlgorithmIdentifier make(const EventContext &context, const std::string &caller, MsgStream &msg, const int16_t slotOverride=-1)
Construct an AlgorithmIdentifier.
Small structure to hold an algorithm's name and store, plus some details on its EventView.
std::string m_caller
Name of the algorithm.
std::string m_store
Name of the algorithm's store.
TrigConf::HLTHash callerHash(MsgStream &msg) const
size_t m_slotToSaveInto
The slot which is used for the purposes of recording data on this algorithm's execution.
static constexpr int16_t s_noView
Constant value used to express an Algorithm which is not running in a View.
TrigConf::HLTHash storeHash(MsgStream &msg) const
void dump(MsgStream &msg)
size_t m_realSlot
The actual slot of the algorithm.
size_t m_hash
Hash of algorithm + store + realSlot.
StatusCode isValid() const
int16_t m_viewID
If not within an event view, then the m_iewID = s_noView = -1.