![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
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;
42 return StatusCode::FAILURE;
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.
uint64_t eventNumber() const
The current event's event number.
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
uint32_t runNumber() const
The current event's run number.
::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 bool isValid() override final
Can the handle be successfully dereferenced?
virtual StatusCode execute() override
Algorithm execute once per event.
EventInfoReader()
Avoid use of default constructor.
const DetDescrTags_t & detDescrTags() const
The detector description tags.
ServiceHandle< ITagInfoMgr > m_tagInfoMgr
Access to TagInfoMgr for tags.
virtual StatusCode finalize() override
Algorithm finalize at end of job.
uint32_t timeStamp() const
POSIX time in seconds from 1970. January 1st.
float mcEventWeight(size_t i=0) const
The weight of one specific MC event used in the simulation.
bool eventType(EventType type) const
Check for one particular bitmask value.