ATLAS Offline Software
|
This class provides an algorithm to make the EventStreamInfo object and update it. More...
#include <MakeEventStreamInfo.h>
Public Member Functions | |
MakeEventStreamInfo (const std::string &type, const std::string &name, const IInterface *parent) | |
Standard AlgTool Constructor. More... | |
virtual | ~MakeEventStreamInfo () |
Destructor. More... | |
virtual StatusCode | initialize () override |
Required of all IAthenaOutputTools: Called by AthenaOutputStream::initialize() (via ToolSvc retrieve()). More... | |
virtual StatusCode | postInitialize () override |
Called at the end of AthenaOutputStream::initialize(). More... | |
virtual StatusCode | preExecute () override |
Called at the beginning of AthenaOutputStream::execute(). More... | |
virtual StatusCode | preStream () override |
Called before actually streaming objects. More... | |
virtual StatusCode | postExecute () override |
Called at the end of AthenaOutputStream::execute(). More... | |
virtual StatusCode | preFinalize () override |
Called at the beginning of AthenaOutputStream::finalize(). More... | |
virtual StatusCode | finalize () override |
Called at the end of AthenaOutputStream::finalize() (via release()). More... | |
Private Attributes | |
StringProperty | m_dataHeaderKey {this, "DataHeaderKey", "", "name of the data header key"} |
Name of DataHeader key. More... | |
StringProperty | m_key {this, "Key", "", "name of the EventStreamInfo object"} |
Key, the StoreGate key for the EventStreamInfo object. More... | |
StringProperty | m_eventInfoKey {this, "EventInfoKey", "EventInfo", "name of the xAOD::EventInfo"} |
Key, the StoreGate key for the xAOD::EventInfo object. More... | |
StringProperty | m_oEventInfoKey {this, "OldEventInfoKey", "McEventInfo", "name of the legacy EventInfo"} |
Key, the StoreGate key for the old EventInfo object, ix there is no xAOD::EventInfo. More... | |
ServiceHandle< IAthMetaDataSvc > | m_metaDataSvc {this, "MetaDataSvc", "MetaDataSvc"} |
Pointer to the data stores. More... | |
ServiceHandle< StoreGateSvc > | m_eventStore {this, "StoreGateSvc", "StoreGateSvc"} |
std::atomic< unsigned int > | m_eventCounter {0} |
Counter of the events in the stream. More... | |
This class provides an algorithm to make the EventStreamInfo object and update it.
Definition at line 27 of file MakeEventStreamInfo.h.
MakeEventStreamInfo::MakeEventStreamInfo | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Standard AlgTool Constructor.
Definition at line 23 of file MakeEventStreamInfo.cxx.
|
virtual |
|
overridevirtual |
Called at the end of AthenaOutputStream::finalize() (via release()).
Definition at line 158 of file MakeEventStreamInfo.cxx.
|
overridevirtual |
Required of all IAthenaOutputTools: Called by AthenaOutputStream::initialize() (via ToolSvc retrieve()).
Definition at line 32 of file MakeEventStreamInfo.cxx.
|
overridevirtual |
Called at the end of AthenaOutputStream::execute().
Definition at line 75 of file MakeEventStreamInfo.cxx.
|
overridevirtual |
Called at the end of AthenaOutputStream::initialize().
Definition at line 57 of file MakeEventStreamInfo.cxx.
|
overridevirtual |
Called at the beginning of AthenaOutputStream::execute().
Definition at line 67 of file MakeEventStreamInfo.cxx.
|
overridevirtual |
Called at the beginning of AthenaOutputStream::finalize().
Definition at line 129 of file MakeEventStreamInfo.cxx.
|
overridevirtual |
Called before actually streaming objects.
Definition at line 71 of file MakeEventStreamInfo.cxx.
|
private |
Name of DataHeader key.
Definition at line 51 of file MakeEventStreamInfo.h.
|
private |
Counter of the events in the stream.
Definition at line 65 of file MakeEventStreamInfo.h.
|
private |
Key, the StoreGate key for the xAOD::EventInfo object.
Definition at line 56 of file MakeEventStreamInfo.h.
|
private |
Definition at line 62 of file MakeEventStreamInfo.h.
|
private |
Key, the StoreGate key for the EventStreamInfo object.
Definition at line 53 of file MakeEventStreamInfo.h.
|
private |
Pointer to the data stores.
Definition at line 61 of file MakeEventStreamInfo.h.
|
private |
Key, the StoreGate key for the old EventInfo object, ix there is no xAOD::EventInfo.
Definition at line 58 of file MakeEventStreamInfo.h.