|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MAKEEVENTSTREAMINFO_H
6 #define MAKEEVENTSTREAMINFO_H
16 #include "GaudiKernel/ServiceHandle.h"
22 namespace xAODMaker {
class IEventInfoCnvTool; }
51 StringProperty
m_dataHeaderKey{
this,
"DataHeaderKey",
"",
"name of the data header key"};
53 StringProperty
m_key{
this,
"Key",
"",
"name of the EventStreamInfo object"};
56 StringProperty
m_eventInfoKey{
this,
"EventInfoKey",
"EventInfo",
"name of the xAOD::EventInfo"};
58 StringProperty
m_oEventInfoKey{
this,
"OldEventInfoKey",
"McEventInfo",
"name of the legacy EventInfo"};
ServiceHandle< StoreGateSvc > m_eventStore
ServiceHandle< IAthMetaDataSvc > m_metaDataSvc
Pointer to the data stores.
StringProperty m_oEventInfoKey
Key, the StoreGate key for the old EventInfo object, ix there is no xAOD::EventInfo.
The Athena Transient Store API.
std::atomic< unsigned int > m_eventCounter
Counter of the events in the stream.
virtual StatusCode postInitialize() override
Called at the end of AthenaOutputStream::initialize().
StringProperty m_dataHeaderKey
Name of DataHeader key.
::StatusCode StatusCode
StatusCode definition for legacy code.
MakeEventStreamInfo(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool Constructor.
This class provides an algorithm to make the EventStreamInfo object and update it.
virtual StatusCode finalize() override
Called at the end of AthenaOutputStream::finalize() (via release()).
virtual StatusCode postExecute() override
Called at the end of AthenaOutputStream::execute().
virtual StatusCode preExecute() override
Called at the beginning of AthenaOutputStream::execute().
virtual ~MakeEventStreamInfo()
Destructor.
StringProperty m_eventInfoKey
Key, the StoreGate key for the xAOD::EventInfo object.
virtual StatusCode preFinalize() override
Called at the beginning of AthenaOutputStream::finalize().
virtual StatusCode preStream() override
Called before actually streaming objects.
virtual StatusCode initialize() override
Required of all IAthenaOutputTools: Called by AthenaOutputStream::initialize() (via ToolSvc retrieve(...
StringProperty m_key
Key, the StoreGate key for the EventStreamInfo object.