ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
AFP_DBTools
AFP_DBTools
AFPDBTester.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef AFP_DBTOOLS_AFPDBTESTER_H
5
#define AFP_DBTOOLS_AFPDBTESTER_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
#include "
StoreGate/ReadCondHandle.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "
AthenaKernel/CondCont.h
"
11
#include <string>
12
13
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
14
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
15
16
#include "
CaloConditions/CaloLocalHadCoeff.h
"
17
#include "GaudiKernel/EventContext.h"
18
19
#include "nlohmann/json.hpp"
20
25
class
AFPDBTester
:
public
AthReentrantAlgorithm
{
26
public
:
27
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
28
29
virtual
StatusCode
initialize
()
override
;
30
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
31
32
private
:
33
SG::ReadCondHandleKey<CondAttrListCollection>
m_rch_locshiftX
{
this
,
"locshiftXkey"
,
"/FWD/Onl/AFP/Align/Local"
,
"read cond handle local shiftXkey"
};
34
SG::ReadCondHandleKey<CondAttrListCollection>
m_rch_globshiftX
{
this
,
"globshiftXkey"
,
"/FWD/Onl/AFP/Align/Global"
,
"read cond handle global shiftXkey"
};
35
SG::ReadCondHandleKey<CondAttrListCollection>
m_rch_loctof
{
this
,
"locToFkey"
,
"/FWD/Onl/AFP/ToFParameters/Local"
,
"read cond handle local ToF"
};
36
SG::ReadCondHandleKey<CondAttrListCollection>
m_rch_vtxtof
{
this
,
"vtxToFkey"
,
"/FWD/Onl/AFP/ToFParameters/Vertex"
,
"read cond handle vertex ToF"
};
37
SG::ReadCondHandleKey<AthenaAttributeList>
m_readKey
{
this
,
"BeamSpotFolder"
,
"/Indet/Beampos"
,
"DB folder from which to read raw beam spot data"
};
38
SG::ReadCondHandleKey<CaloLocalHadCoeff>
m_key
{
"EMFracClassify"
};
39
40
};
41
42
#ifndef __CINT__
43
CLASS_DEF
(
AFPDBTester
, 205749847 , 1 )
44
#endif
45
46
#endif
// AFP_DBTOOLS_AFPDBTESTER_H
AthReentrantAlgorithm.h
AthenaAttributeList.h
CaloLocalHadCoeff.h
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
CondCont.h
Hold mappings of ranges to condition objects.
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
ReadCondHandle.h
AFPDBTester
Definition
AFPDBTester.h:25
AFPDBTester::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
AFPDBTester.cxx:28
AFPDBTester::m_key
SG::ReadCondHandleKey< CaloLocalHadCoeff > m_key
Definition
AFPDBTester.h:38
AFPDBTester::m_rch_globshiftX
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_globshiftX
Definition
AFPDBTester.h:34
AFPDBTester::m_readKey
SG::ReadCondHandleKey< AthenaAttributeList > m_readKey
Definition
AFPDBTester.h:37
AFPDBTester::m_rch_locshiftX
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_locshiftX
Definition
AFPDBTester.h:33
AFPDBTester::m_rch_loctof
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_loctof
Definition
AFPDBTester.h:35
AFPDBTester::initialize
virtual StatusCode initialize() override
Definition
AFPDBTester.cxx:7
AFPDBTester::m_rch_vtxtof
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_vtxtof
Definition
AFPDBTester.h:36
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0