Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
18 ISvcLocator *pSvcLocator) :
20 m_geoModel(
"GeoModelSvc",
name),
21 m_tagInfoMgr(
"TagInfoMgr",
name)
31 return StatusCode::SUCCESS;
40 if(!eventInfo.isValid()) {
42 return StatusCode::FAILURE;
46 << eventInfo->runNumber() <<
","
47 << eventInfo->eventNumber() <<
":"
48 << eventInfo->timeStamp() <<
"] " );
51 << eventInfo->mcEventWeight() );
56 for (
const auto& ddTag : eventInfo->detDescrTags() ) {
65 std::string releaseVersion =
m_tagInfoMgr->findTag(
"AtlasRelease");
66 ATH_MSG_DEBUG(
"Found Release version from TagInfoMgr: " << releaseVersion);
68 return StatusCode::SUCCESS;
76 return StatusCode::SUCCESS;
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
ServiceHandle< IGeoModelSvc > m_geoModel
Access to GeoModelSvc for tags.
Test Algorithm for checking TagInfoMgr and the storing of geometry and conditions tags in EventInfo,...
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG key for Event Info.
@ IS_SIMULATION
true: simulation, false: data
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual StatusCode execute() override
Algorithm execute once per event.
EventInfoReader()
Avoid use of default constructor.
ServiceHandle< ITagInfoMgr > m_tagInfoMgr
Access to TagInfoMgr for tags.
virtual StatusCode finalize() override
Algorithm finalize at end of job.