19 auto cfact = hltinterface::ContainerFactory::getInstance();
22 const std::string ISname =
"LArISInfo_NoiseBurstAlg";
23 const std::string IStype =
"LArNoiseBurstCandidates";
24 m_IsObject = cfact->constructContainer(ISname, IStype);
26 hltinterface::GenericHLTContainer::LASTVALUE);
28 hltinterface::GenericHLTContainer::LASTVALUE);
29 ATH_MSG_DEBUG(
"Registering container in IS with name /HLTObjects/" << ISname);
30 hltinterface::IInfoRegister::instance()->registerObject(
"/HLTObjects/",
m_IsObject);
32 catch (std::exception& ex) {
40 return StatusCode::SUCCESS;
46 boost::property_tree::ptree event_tree;
47 event_tree.put(
"eventNumber", ctx.eventID().event_number());
48 event_tree.put(
"LBNumber", ctx.eventID().lumi_block());
50 hltinterface::IInfoRegister::instance()->beginEvent(event_tree);
55 hltinterface::IInfoRegister::instance()->endEvent(event_tree);
57 catch (
const std::exception& ex) {
58 ATH_MSG_INFO(
"Caught exception during IS publication: " << ex.what());
62 return StatusCode::SUCCESS;