ATLAS Offline Software
PtFromRadius.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGL2MUONSA_PTFROMRADIUS_H
6 #define TRIGL2MUONSA_PTFROMRADIUS_H
7 
9 
10 #include "GaudiKernel/ServiceHandle.h"
11 
12 #include "TrackData.h"
13 #include "PtBarrelLUTSvc.h"
14 #include "PtBarrelLUT.h"
15 
16 namespace TrigL2MuonSA {
17 
18 class PtFromRadius: public AthAlgTool
19 {
20  public:
21 
22  PtFromRadius(const std::string& type,
23  const std::string& name,
24  const IInterface* parent);
25 
26  void setMCFlag(const BooleanProperty& m_use_mcLUT,
27  const TrigL2MuonSA::PtBarrelLUTSvc* ptBarrelLUTSvc);
28 
29  public:
30 
31  // For Barrel
32  StatusCode setPt(TrigL2MuonSA::TrackPattern& trackPattern) const;
33 
34  private:
35  BooleanProperty m_use_mcLUT{0};
36 
37  const ToolHandle<PtBarrelLUT>* m_ptBarrelLUT{nullptr};
38 };
39 
40 } // namespace PtFromRadius
41 
42 #endif // PTFROMRADIUS_H
TrigL2MuonSA::PtFromRadius::m_use_mcLUT
BooleanProperty m_use_mcLUT
Definition: PtFromRadius.h:35
TrackData.h
TrigL2MuonSA::PtFromRadius::setPt
StatusCode setPt(TrigL2MuonSA::TrackPattern &trackPattern) const
Definition: PtFromRadius.cxx:34
TrigL2MuonSA::PtFromRadius::m_ptBarrelLUT
const ToolHandle< PtBarrelLUT > * m_ptBarrelLUT
Definition: PtFromRadius.h:37
TrigL2MuonSA::TrackPattern
Definition: TrackData.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigL2MuonSA::PtBarrelLUTSvc
Definition: PtBarrelLUTSvc.h:19
AthAlgTool.h
PtBarrelLUTSvc.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigL2MuonSA::PtFromRadius::PtFromRadius
PtFromRadius(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PtFromRadius.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PtBarrelLUT.h
AthAlgTool
Definition: AthAlgTool.h:26
TrigL2MuonSA::PtFromRadius
Definition: PtFromRadius.h:19
TrigL2MuonSA::PtFromRadius::setMCFlag
void setMCFlag(const BooleanProperty &m_use_mcLUT, const TrigL2MuonSA::PtBarrelLUTSvc *ptBarrelLUTSvc)
Definition: PtFromRadius.cxx:24
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13