ATLAS Offline Software
MagFieldCondReader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MAGFIELDUTILS_MAGFIELDCONDREADER_H
6 #define MAGFIELDUTILS_MAGFIELDCONDREADER_H
7 
11 
12 namespace MagField {
13 
18 
19  public:
20  CondReader(const std::string& name, ISvcLocator* pSvcLocator);
21  StatusCode initialize() override;
22  StatusCode execute(const EventContext& ctx) const override;
23 
24  private:
26  this, "AtlasFieldCacheCondObj", "fieldCondObj", "Magnetic Field conditions object key"};
27  };
28 
29 } // namespace MagField
30 
31 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AtlasFieldCacheCondObj.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MagField::CondReader
Testing algorithm to read magnetic field.
Definition: MagFieldCondReader.h:17
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MagField
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition: ForwardRegionFieldSvc.h:27
AthReentrantAlgorithm.h
MagField::CondReader::CondReader
CondReader(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MagFieldCondReader.cxx:7
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MagField::CondReader::initialize
StatusCode initialize() override
Definition: MagFieldCondReader.cxx:11
MagField::CondReader::m_fieldCacheKey
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCacheKey
Definition: MagFieldCondReader.h:25
MagField::CondReader::execute
StatusCode execute(const EventContext &ctx) const override
Definition: MagFieldCondReader.cxx:18
SG::ReadCondHandleKey< AtlasFieldCacheCondObj >