ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
AFP_DBTools
AFP_DBTools
ToFVtxParamDBTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
10
#ifndef AFP_DBTOOLS_TOFVTXPARAMDBTOOL_H
11
#define AFP_DBTOOLS_TOFVTXPARAMDBTOOL_H
12
13
// Vertex includes
14
#include "
AFP_DBTools/IToFVtxParamDBTool.h
"
15
#include "
AFP_DBTools/ToFVtxParamData.h
"
16
17
// FrameWork includes
18
#include "
AthenaBaseComps/AthAlgTool.h
"
19
#include "
StoreGate/ReadCondHandle.h
"
20
21
// database access
22
#include "GaudiKernel/EventContext.h"
23
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
24
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
25
26
#include "nlohmann/json.hpp"
27
#include <string>
28
#include <utility>
29
30
namespace
AFP
31
{
33
class
ToFVtxParamDBTool
:
public
extends<AthAlgTool, IToFVtxParamDBTool>
34
{
35
public
:
36
ToFVtxParamDBTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
37
39
virtual
~ToFVtxParamDBTool
()
override
{}
40
42
virtual
StatusCode
initialize
()
override
;
43
45
virtual
StatusCode
finalize
()
override
;
46
48
nlohmann::json
parametersData
(
const
EventContext& ctx)
const override
;
49
const
ToFVtxParamData
parameters
(
const
nlohmann::json& jsondata,
const
int
stationID)
const override
;
50
51
private
:
52
SG::ReadCondHandleKey<CondAttrListCollection>
m_rch_vtx
{
this
,
"vtx_param_key"
,
"/FWD/Onl/AFP/ToFParameters/Vertex"
,
"read condition handle for vertex ToF parameters"
};
53
};
54
55
56
}
// namespace AFP
57
58
#endif
// > ! AFP_DBTOOLS_TOFVTXPARAMDBTOOL_H
AthAlgTool.h
AthenaAttributeList.h
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
IToFVtxParamDBTool.h
ReadCondHandle.h
ToFVtxParamData.h
AFP::ToFVtxParamDBTool::~ToFVtxParamDBTool
virtual ~ToFVtxParamDBTool() override
Does nothing.
Definition
ToFVtxParamDBTool.h:39
AFP::ToFVtxParamDBTool::m_rch_vtx
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_vtx
Definition
ToFVtxParamDBTool.h:52
AFP::ToFVtxParamDBTool::initialize
virtual StatusCode initialize() override
Does nothing.
Definition
ToFVtxParamDBTool.cxx:16
AFP::ToFVtxParamDBTool::ToFVtxParamDBTool
ToFVtxParamDBTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ToFVtxParamDBTool.cxx:10
AFP::ToFVtxParamDBTool::parametersData
nlohmann::json parametersData(const EventContext &ctx) const override
Provide ToF parameters for a given station. Returns zeros if no data available.
Definition
ToFVtxParamDBTool.cxx:30
AFP::ToFVtxParamDBTool::parameters
const ToFVtxParamData parameters(const nlohmann::json &jsondata, const int stationID) const override
Definition
ToFVtxParamDBTool.cxx:52
AFP::ToFVtxParamDBTool::finalize
virtual StatusCode finalize() override
Does nothing.
Definition
ToFVtxParamDBTool.cxx:23
AFP::ToFVtxParamData
Class storing information about alignment.
Definition
ToFVtxParamData.h:24
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
AFP
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.
Definition
ISiGlobAlignDBTool.h:18
type
Generated on
for ATLAS Offline Software by
1.17.0