ATLAS Offline Software
Loading...
Searching...
No Matches
AFPDBTester.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef AFP_DBTOOLS_AFPDBTESTER_H
5#define AFP_DBTOOLS_AFPDBTESTER_H
6
9#include "GaudiKernel/ServiceHandle.h"
11#include <string>
12
15
17#include "GaudiKernel/EventContext.h"
18
19#include "nlohmann/json.hpp"
20
25class AFPDBTester : public AthAlgorithm {
26public:
27 AFPDBTester(const std::string& name, ISvcLocator* pSvcLocator);
28 virtual ~AFPDBTester() override;
29
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute() override;
32 virtual StatusCode finalize() override;
33
34private:
35 SG::ReadCondHandleKey<CondAttrListCollection> m_rch_locshiftX {this, "locshiftXkey", "/FWD/Onl/AFP/Align/Local", "read cond handle local shiftXkey"};
36 SG::ReadCondHandleKey<CondAttrListCollection> m_rch_globshiftX {this, "globshiftXkey", "/FWD/Onl/AFP/Align/Global", "read cond handle global shiftXkey"};
37 SG::ReadCondHandleKey<CondAttrListCollection> m_rch_loctof {this, "locToFkey", "/FWD/Onl/AFP/ToFParameters/Local", "read cond handle local ToF"};
38 SG::ReadCondHandleKey<CondAttrListCollection> m_rch_vtxtof {this, "vtxToFkey", "/FWD/Onl/AFP/ToFParameters/Vertex", "read cond handle vertex ToF"};
39 SG::ReadCondHandleKey<AthenaAttributeList> m_readKey { this, "BeamSpotFolder", "/Indet/Beampos", "DB folder from which to read raw beam spot data" };
41
42};
43
44#ifndef __CINT__
45 CLASS_DEF( AFPDBTester , 205749847 , 1 )
46#endif
47
48#endif // AFP_DBTOOLS_AFPDBTESTER_H
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Hold mappings of ranges to condition objects.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
AFPDBTester(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< CaloLocalHadCoeff > m_key
Definition AFPDBTester.h:40
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_globshiftX
Definition AFPDBTester.h:36
SG::ReadCondHandleKey< AthenaAttributeList > m_readKey
Definition AFPDBTester.h:39
virtual StatusCode execute() override
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_locshiftX
Definition AFPDBTester.h:35
virtual ~AFPDBTester() override
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_loctof
Definition AFPDBTester.h:37
virtual StatusCode finalize() override
virtual StatusCode initialize() override
SG::ReadCondHandleKey< CondAttrListCollection > m_rch_vtxtof
Definition AFPDBTester.h:38
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters: