4#ifndef EVENT_INFO_WRITER_ALG_H
5#define EVENT_INFO_WRITER_ALG_H
12#include "GaudiKernel/ServiceHandle.h"
20 virtual StatusCode
execute()
override;
21 virtual StatusCode
finalize()
override;
25 this,
"primitives", {},
"List of primatives to print"
28 this,
"primitiveToType", {},
"Map from primitive to type"
31 this,
"datasetName",
"",
"Name of output dataset"
34 this,
"eventInfo",
"EventInfo",
"Event info key"};
36 this,
"output",
"",
"output file service"};
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< std::vector< std::string > > m_primitives
SG::ReadHandleKey< xAOD::EventInfo > m_infoKey
virtual StatusCode execute() override
EventInfoWriterAlg(const std::string &name, ISvcLocator *loc)
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_dsName
std::unique_ptr< EventInfoWriter > m_writer
Gaudi::Property< std::map< std::string, std::string > > m_primToType
virtual StatusCode finalize() override
ServiceHandle< IH5GroupSvc > m_output_svc
Property holding a SG store/key/clid from which a ReadHandle is made.