ATLAS Offline Software
PtBarrelLUTSvc.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_PTBARRELLUTSVC_H
6 #define TRIGL2MUONSA_PTBARRELLUTSVC_H
7 
8 #include <string>
9 
11 
12 #include "GaudiKernel/ToolHandle.h"
13 
14 #include "PtBarrelLUT.h"
15 
16 namespace TrigL2MuonSA {
17 
18  class PtBarrelLUTSvc : public AthService
19  {
20  public:
21  // import IService as this service does not define its own interface:
22  using IService::interfaceID;
23 
24  PtBarrelLUTSvc(const std::string& name,ISvcLocator* sl);
25 
26  virtual StatusCode initialize(void) override;
27 
28  private:
29  Gaudi::Property< std::string > m_lut_fileName {
30  this, "LUTfile", "pt_barrel.lut", ""};
31  Gaudi::Property< std::string > m_lutSP_fileName {
32  this, "SP_LUTfile", "pt_barrelSP_new.lut", ""};
33 
34  ToolHandle<PtBarrelLUT> m_ptBarrelLUT {
35  this, "PtBarrelLUT", "TrigL2MuonSA::PtBarrelLUT"};
36 
37  public:
38  const ToolHandle<PtBarrelLUT>* ptBarrelLUT(void) const
39  {return &m_ptBarrelLUT;};
40 
41  };
42 
43 }
44 
45 #endif
TrigL2MuonSA::PtBarrelLUTSvc::PtBarrelLUTSvc
PtBarrelLUTSvc(const std::string &name, ISvcLocator *sl)
Definition: PtBarrelLUTSvc.cxx:12
TrigL2MuonSA::PtBarrelLUTSvc::ptBarrelLUT
const ToolHandle< PtBarrelLUT > * ptBarrelLUT(void) const
Definition: PtBarrelLUTSvc.h:38
TrigL2MuonSA::PtBarrelLUTSvc::m_lut_fileName
Gaudi::Property< std::string > m_lut_fileName
Definition: PtBarrelLUTSvc.h:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthService
Definition: AthService.h:32
TrigL2MuonSA::PtBarrelLUTSvc
Definition: PtBarrelLUTSvc.h:19
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigL2MuonSA::PtBarrelLUTSvc::m_ptBarrelLUT
ToolHandle< PtBarrelLUT > m_ptBarrelLUT
Definition: PtBarrelLUTSvc.h:34
AthService.h
PtBarrelLUT.h
TrigL2MuonSA::PtBarrelLUTSvc::m_lutSP_fileName
Gaudi::Property< std::string > m_lutSP_fileName
Definition: PtBarrelLUTSvc.h:31
TrigL2MuonSA::PtBarrelLUTSvc::initialize
virtual StatusCode initialize(void) override
Definition: PtBarrelLUTSvc.cxx:20
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13