ATLAS Offline Software
PtEndcapLUTSvc.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_PTENDCAPLUTSVC_H
6 #define TRIGL2MUONSA_PTENDCAPLUTSVC_H
7 
9 
10 #include "GaudiKernel/ToolHandle.h"
11 
12 #include "PtEndcapLUT.h"
13 
14 #include <map>
15 #include <cstring>
16 
17 namespace TrigL2MuonSA {
18 
19 class PtEndcapLUTSvc : public AthService
20 {
21  public:
22  // import IService as this service does not define its own interface:
23  using IService::interfaceID;
24 
25  PtEndcapLUTSvc(const std::string& name, ISvcLocator* sl);
26 
27  virtual StatusCode initialize() override;
28 
29  private:
30  Gaudi::Property< std::string > m_lut_fileNameRun3 {
31  this, "FileNameRun3", "pt_endcap_run3.lut", ""};
32  Gaudi::Property< std::string > m_lut_fileNameRun2 {
33  this, "FileNameRun2", "pt_endcap_run2.lut", ""};
34  Gaudi::Property< std::string > m_lut_fileName {
35  this, "FileName", "pt_endcap.lut", ""};
36  Gaudi::Property< std::string > m_lut_mean {
37  this, "EMeanLUT", "pt_comb_mean.lut", ""};
38  Gaudi::Property< std::string > m_lut_sigma {
39  this, "ESigmaLUT", "pt_comb_sigma.lut", ""};
40  Gaudi::Property<bool> m_useRun3LUT{
41  this,"UseRun3LUT",true,"Select LUT at geometry"};
42 
43  ToolHandle<PtEndcapLUT> m_ptEndcapLUT{this, "PtEndcapLUT", "TrigL2MuonSA::PtEndcapLUT"};
44 
45  public:
46  const ToolHandle<PtEndcapLUT>* ptEndcapLUT(void) const
47  {return &m_ptEndcapLUT;};
48 
49 };
50 
51 }
52 
53 #endif
TrigL2MuonSA::PtEndcapLUTSvc::initialize
virtual StatusCode initialize() override
Definition: PtEndcapLUTSvc.cxx:23
TrigL2MuonSA::PtEndcapLUTSvc::m_lut_mean
Gaudi::Property< std::string > m_lut_mean
Definition: PtEndcapLUTSvc.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthService
Definition: AthService.h:32
TrigL2MuonSA::PtEndcapLUTSvc::m_ptEndcapLUT
ToolHandle< PtEndcapLUT > m_ptEndcapLUT
Definition: PtEndcapLUTSvc.h:43
PtEndcapLUT.h
TrigL2MuonSA::PtEndcapLUTSvc::m_lut_fileNameRun3
Gaudi::Property< std::string > m_lut_fileNameRun3
Definition: PtEndcapLUTSvc.h:30
TrigL2MuonSA::PtEndcapLUTSvc::m_useRun3LUT
Gaudi::Property< bool > m_useRun3LUT
Definition: PtEndcapLUTSvc.h:40
TrigL2MuonSA::PtEndcapLUTSvc::ptEndcapLUT
const ToolHandle< PtEndcapLUT > * ptEndcapLUT(void) const
Definition: PtEndcapLUTSvc.h:46
TrigL2MuonSA::PtEndcapLUTSvc::m_lut_fileName
Gaudi::Property< std::string > m_lut_fileName
Definition: PtEndcapLUTSvc.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigL2MuonSA::PtEndcapLUTSvc::m_lut_sigma
Gaudi::Property< std::string > m_lut_sigma
Definition: PtEndcapLUTSvc.h:38
TrigL2MuonSA::PtEndcapLUTSvc::m_lut_fileNameRun2
Gaudi::Property< std::string > m_lut_fileNameRun2
Definition: PtEndcapLUTSvc.h:32
AthService.h
TrigL2MuonSA::PtEndcapLUTSvc::PtEndcapLUTSvc
PtEndcapLUTSvc(const std::string &name, ISvcLocator *sl)
Definition: PtEndcapLUTSvc.cxx:15
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13
TrigL2MuonSA::PtEndcapLUTSvc
Definition: PtEndcapLUTSvc.h:20