ATLAS Offline Software
ISiLocAlignDBTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #ifndef AFP_DBTOOLS_ISILOCALIGNDBTOOL_H
7 #define AFP_DBTOOLS_ISILOCALIGNDBTOOL_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 
17 namespace AFP
18 {
19  // forward declarations
20  class SiLocAlignData;
21 
23  class ISiLocAlignDBTool : virtual public IAlgTool
24  {
25  public:
27 
29  virtual nlohmann::json alignmentData(const EventContext& ctx) const = 0;
30  virtual const SiLocAlignData alignment(const nlohmann::json& jsondata, const int stationID, const int planeID) const = 0;
31  };
32 
33 } // namespace AFP
34 
35 #endif // > ! AFP_DBTOOLS_ISILOCALIGNDBTOOL_H
json
nlohmann::json json
Definition: HistogramDef.cxx:9
AFP::ISiLocAlignDBTool::DeclareInterfaceID
DeclareInterfaceID(ISiLocAlignDBTool, 1, 0)
AFP
Header file for interface of SiGlobAlignDBTool used to read global alignment for database.
Definition: ISiGlobAlignDBTool.h:18
AFP::ISiLocAlignDBTool::alignmentData
virtual nlohmann::json alignmentData(const EventContext &ctx) const =0
Provide alignment parameters for a given plane. Returns zeros if no data available.
AFP::SiLocAlignData
Class storing information about alignment.
Definition: SiLocAlignData.h:24
AFP::ISiLocAlignDBTool
Interface to tool providing local alignment of silicon detectors from the conditions database.
Definition: ISiLocAlignDBTool.h:24
AFP::ISiLocAlignDBTool::alignment
virtual const SiLocAlignData alignment(const nlohmann::json &jsondata, const int stationID, const int planeID) const =0