ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MagneticField
MagFieldUtils
src
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
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
MagFieldConditions/AtlasFieldCacheCondObj.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
12
namespace
MagField
{
13
17
class
CondReader
:
public
AthReentrantAlgorithm
{
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
:
25
SG::ReadCondHandleKey<AtlasFieldCacheCondObj>
m_fieldCacheKey
{
26
this
,
"AtlasFieldCacheCondObj"
,
"fieldCondObj"
,
"Magnetic Field conditions object key"
};
27
};
28
29
}
// namespace MagField
30
31
#endif
AthReentrantAlgorithm.h
AtlasFieldCacheCondObj.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MagField::CondReader::CondReader
CondReader(const std::string &name, ISvcLocator *pSvcLocator)
Definition
MagFieldCondReader.cxx:7
MagField::CondReader::execute
StatusCode execute(const EventContext &ctx) const override
Definition
MagFieldCondReader.cxx:18
MagField::CondReader::m_fieldCacheKey
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCacheKey
Definition
MagFieldCondReader.h:25
MagField::CondReader::initialize
StatusCode initialize() override
Definition
MagFieldCondReader.cxx:11
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
MagField
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h).
Definition
ForwardRegionFieldSvc.h:27
Generated on
for ATLAS Offline Software by
1.17.0