|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/ServiceHandle.h"
25 declareInterface<IAthenaSelectorTool>(
this);
38 if (attrList->specification().exists(
m_streamName.value())) {
42 return(StatusCode::RECOVERABLE);
47 if (attrList->specification().exists(
"eventRef")) {
49 const std::string tokenStr = (*attrList)[
"eventRef"].data<std::string>();
54 if (!
evtStore()->recordAddress(iop).isSuccess()) {
55 ATH_MSG_ERROR(
"Failed to record AthenaAttribute, name = " << token->contID() <<
", eventRef = " << tokenStr);
56 return(StatusCode::FAILURE);
61 return(StatusCode::FAILURE);
63 return(StatusCode::SUCCESS);
This class provides a token that identifies in a unique way objects on the persistent storage.
This class provides a Generic Transient Address for POOL tokens.
Token & fromString(const std::string &from)
Build from the string representation of a token.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
This file contains the class definition for the IPoolSvc interface class.
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
This file contains the class definition for the TokenAddress class.
Token & setCont(const std::string &cnt)
Set container name.
This file contains the class definition for the Token class (migrated from POOL).