ATLAS Offline Software
Loading...
Searching...
No Matches
IToFLocParamDBTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6#ifndef AFP_DBTOOLS_ITOFLOCPARAMDBTOOL_H
7#define AFP_DBTOOLS_ITOFLOCPARAMDBTOOL_H
8
9
10// FrameWork includes
11#include "GaudiKernel/IAlgTool.h"
12#include "GaudiKernel/EventContext.h"
13
14// forward declaration of nlohmann::json
15#include "nlohmann/json_fwd.hpp"
16
17namespace AFP
18{
19 // forward declarations
20 class ToFLocParamData;
21
23 class IToFLocParamDBTool : virtual public IAlgTool
24 {
25 public:
27
29 virtual nlohmann::json parametersData(const EventContext& ctx) const = 0;
30 virtual const ToFLocParamData parameters(const nlohmann::json& jsondata, const int stationID, const int trainID, const int barID) const = 0;
31 };
32
33} // namespace AFP
34
35#endif // > ! AFP_DBTOOLS_ITOFLOCPARAMDBTOOL_H
Interface to tool providing local parameters of ToF detectors from the conditions database.
virtual nlohmann::json parametersData(const EventContext &ctx) const =0
Provide ToF parameters for a given bar. Returns zeros if no data available.
virtual const ToFLocParamData parameters(const nlohmann::json &jsondata, const int stationID, const int trainID, const int barID) const =0
DeclareInterfaceID(IToFLocParamDBTool, 1, 0)
Class storing information about alignment.
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.