ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace TrigL2MuonSA {
18
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
Gaudi::Property< std::string > m_lut_mean
const ToolHandle< PtEndcapLUT > * ptEndcapLUT(void) const
Gaudi::Property< std::string > m_lut_fileNameRun3
Gaudi::Property< std::string > m_lut_fileName
Gaudi::Property< std::string > m_lut_fileNameRun2
Gaudi::Property< std::string > m_lut_sigma
PtEndcapLUTSvc(const std::string &name, ISvcLocator *sl)
Gaudi::Property< bool > m_useRun3LUT
virtual StatusCode initialize() override
ToolHandle< PtEndcapLUT > m_ptEndcapLUT