ATLAS Offline Software
AlignmentBarrelLUTSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGL2MUONSA_ALIGNMENTBARRELLUTSVC_H
6 #define TRIGL2MUONSA_ALIGNMENTBARRELLUTSVC_H
7 
8 #include <string>
10 
11 #include "GaudiKernel/ToolHandle.h"
12 
13 #include "AlignmentBarrelLUT.h"
14 
15 namespace TrigL2MuonSA {
16 
18  {
19  public:
20  // import IService as this service does not define its own interface:
21  using IService::interfaceID;
22 
23  AlignmentBarrelLUTSvc(const std::string& name,ISvcLocator* sl);
24 
25  virtual StatusCode initialize() override;
26 
27  private:
28  Gaudi::Property< std::string > m_lut_fileName {
29  this, "LUTfile", "dZ_barrel.lut", ""};
30 
31  ToolHandle<AlignmentBarrelLUT> m_alignmentBarrelLUT {
32  this, "AlignmentBarrelLUT", "TrigL2MuonSA::AlignmentBarrelLUT/AlignmentBarrelLUT"};
33 
34  public:
35  const ToolHandle<AlignmentBarrelLUT>* alignmentBarrelLUT(void) const
36  { return &m_alignmentBarrelLUT; };
37  };
38 
39 }
40 
41 #endif
TrigL2MuonSA::AlignmentBarrelLUTSvc::m_lut_fileName
Gaudi::Property< std::string > m_lut_fileName
Definition: AlignmentBarrelLUTSvc.h:28
TrigL2MuonSA::AlignmentBarrelLUTSvc
Definition: AlignmentBarrelLUTSvc.h:18
TrigL2MuonSA::AlignmentBarrelLUTSvc::m_alignmentBarrelLUT
ToolHandle< AlignmentBarrelLUT > m_alignmentBarrelLUT
Definition: AlignmentBarrelLUTSvc.h:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthService
Definition: AthService.h:32
AlignmentBarrelLUT.h
TrigL2MuonSA::AlignmentBarrelLUTSvc::initialize
virtual StatusCode initialize() override
Definition: AlignmentBarrelLUTSvc.cxx:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigL2MuonSA::AlignmentBarrelLUTSvc::alignmentBarrelLUT
const ToolHandle< AlignmentBarrelLUT > * alignmentBarrelLUT(void) const
Definition: AlignmentBarrelLUTSvc.h:35
AthService.h
TrigL2MuonSA::AlignmentBarrelLUTSvc::AlignmentBarrelLUTSvc
AlignmentBarrelLUTSvc(const std::string &name, ISvcLocator *sl)
Definition: AlignmentBarrelLUTSvc.cxx:12
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13