21 if (cfg.name.empty()) {
22 ATH_MSG_ERROR(
"datasetName isn't specified in EventInfo writer");
23 return StatusCode::FAILURE;
35 return StatusCode::SUCCESS;
42 return StatusCode::SUCCESS;
47 return StatusCode::SUCCESS;
Primitive::Type getPrimitiveType(const std::string &name)
#define ATH_CHECK
Evaluate an expression and check for errors.
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
Test Algorithm for checking TagInfoMgr and the storing of geometry and conditions tags in EventInfo,...
virtual bool isValid() override final
Can the handle be successfully dereferenced?