ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
CondReaderAlg.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4
*/
5
/*
6
*/
7
// $Id$
14
15
16
#ifndef DATAMODELTESTDATACOMMON_CONDREADERALG_H
17
#define DATAMODELTESTDATACOMMON_CONDREADERALG_H
18
19
20
#include "
DataModelTestDataCommon/S1Cond.h
"
21
#include "
DataModelTestDataCommon/S3Cond.h
"
22
#include "
xAODEventInfo/EventInfo.h
"
23
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
24
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
25
#include "
StoreGate/ReadHandleKey.h
"
26
#include "
StoreGate/ReadCondHandleKey.h
"
27
#include "GaudiKernel/ServiceHandle.h"
28
#include "GaudiKernel/IChronoStatSvc.h"
29
30
31
namespace
DMTest
{
32
33
34
class
CondReaderAlg
35
:
public
AthReentrantAlgorithm
36
{
37
public
:
43
CondReaderAlg
(
const
std::string &name, ISvcLocator *pSvcLocator);
44
45
49
virtual
StatusCode
initialize
()
override
;
50
51
55
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
56
57
58
private
:
59
ServiceHandle<IChronoStatSvc>
m_chronoSvc
;
60
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EvtInfo"
,
"EventInfo"
,
"EventInfo name"
};
61
SG::ReadCondHandleKey<AthenaAttributeList>
m_attrListKey
;
62
SG::ReadCondHandleKey<DMTest::S1>
m_scondKey
;
63
SG::ReadCondHandleKey<DMTest::S1>
m_s2Key
;
64
SG::ReadCondHandleKey<DMTest::S3>
m_s3Key
;
65
SG::ReadCondHandleKey<AthenaAttributeList>
m_rltestKey
;
66
SG::ReadCondHandleKey<AthenaAttributeList>
m_tstestKey
;
67
size_t
m_spins
;
68
};
69
70
71
}
// namespace DMTest
72
73
74
#endif
// not DATAMODELTESTDATACOMMON_CONDREADERALG_H
AthReentrantAlgorithm.h
AthenaAttributeList.h
ReadCondHandleKey.h
S1Cond.h
Conditions declarations for S1.
S3Cond.h
Conditions declarations for S3.
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
DMTest::CondReaderAlg::m_tstestKey
SG::ReadCondHandleKey< AthenaAttributeList > m_tstestKey
Definition
CondReaderAlg.h:66
DMTest::CondReaderAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
CondReaderAlg.h:60
DMTest::CondReaderAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
CondReaderAlg.cxx:71
DMTest::CondReaderAlg::m_attrListKey
SG::ReadCondHandleKey< AthenaAttributeList > m_attrListKey
Definition
CondReaderAlg.h:61
DMTest::CondReaderAlg::m_scondKey
SG::ReadCondHandleKey< DMTest::S1 > m_scondKey
Definition
CondReaderAlg.h:62
DMTest::CondReaderAlg::CondReaderAlg
CondReaderAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
CondReaderAlg.cxx:26
DMTest::CondReaderAlg::m_rltestKey
SG::ReadCondHandleKey< AthenaAttributeList > m_rltestKey
Definition
CondReaderAlg.h:65
DMTest::CondReaderAlg::m_spins
size_t m_spins
Definition
CondReaderAlg.h:67
DMTest::CondReaderAlg::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
CondReaderAlg.cxx:50
DMTest::CondReaderAlg::m_chronoSvc
ServiceHandle< IChronoStatSvc > m_chronoSvc
Definition
CondReaderAlg.h:59
DMTest::CondReaderAlg::m_s3Key
SG::ReadCondHandleKey< DMTest::S3 > m_s3Key
Definition
CondReaderAlg.h:64
DMTest::CondReaderAlg::m_s2Key
SG::ReadCondHandleKey< DMTest::S1 > m_s2Key
Definition
CondReaderAlg.h:63
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
DMTest
Definition
B.h:23
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0