ATLAS Offline Software
MuFastTrackFitter.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_MUFASTTRACKFITTER_H
6 #define TRIGL2MUONSA_MUFASTTRACKFITTER_H
7 
9 #include "GaudiKernel/ServiceHandle.h"
10 
12 
13 #include "RpcFitResult.h"
14 #include "TgcFitResult.h"
15 #include "TrackData.h"
16 
17 #include "PtEndcapLUTSvc.h"
18 #include "PtBarrelLUTSvc.h"
19 #include "AlignmentBarrelLUTSvc.h"
20 
21 #include "SagittaRadiusEstimate.h"
22 #include "AlphaBetaEstimate.h"
23 #include "PtFromRadius.h"
24 #include "PtFromAlphaBeta.h"
25 
26 namespace TrigL2MuonSA {
27 
29  {
30  public:
31 
32  MuFastTrackFitter(const std::string& type,
33  const std::string& name,
34  const IInterface* parent);
35 
36  virtual StatusCode initialize() override;
37 
38  public:
39 
41  TrigL2MuonSA::RpcFitResult& rpcFitResult,
42  std::vector<TrigL2MuonSA::TrackPattern>& v_trackPatterns) const;
43 
45  TrigL2MuonSA::TgcFitResult& tgcFitResult,
46  std::vector<TrigL2MuonSA::TrackPattern>& v_trackPatterns,
47  const TrigL2MuonSA::MuonRoad& muonRoad) const;
48 
49  StatusCode setMCFlag(const BooleanProperty& use_mcLUT);
50 
51  void setUseEIFromBarrel( BooleanProperty use_endcapInnerFromBarrel ) {
52  m_use_endcapInnerFromBarrel = use_endcapInnerFromBarrel;
54  };
55 
56  private:
57  BooleanProperty m_use_mcLUT {true};
58  BooleanProperty m_use_endcapInnerFromBarrel {false};
59 
60  ToolHandle<SagittaRadiusEstimate> m_sagittaRadiusEstimate
61  {this, "SagittaRadiusEstimate", "TrigL2MuonSA::SagittaRadiusEstimate"};
62  ToolHandle<AlphaBetaEstimate> m_alphaBetaEstimate
63  {this, "AlphaBetaEstimate", "TrigL2MuonSA::AlphaBetaEstimate"};
64 
65  ToolHandle<PtFromRadius> m_ptFromRadius
66  {this, "PtFromRadius", "TrigL2MuonSA::PtFromRadius"};
67  ToolHandle<PtFromAlphaBeta> m_ptFromAlphaBeta
68  {this, "PtFromAlphaBeta", "TrigL2MuonSA::PtFromAlphaBeta"};
69  };
70 
71 } // namespace TrigL2MuonSA
72 
73 #endif // MUFASTTRACKFITTER_H
TrigL2MuonSA::MuFastTrackFitter::setMCFlag
StatusCode setMCFlag(const BooleanProperty &use_mcLUT)
Definition: MuFastTrackFitter.cxx:36
SagittaRadiusEstimate.h
TrigL2MuonSA::RpcFitResult
Definition: RpcFitResult.h:14
TrigL2MuonSA::TgcFitResult
Definition: TgcFitResult.h:11
TrigL2MuonSA::MuFastTrackFitter::m_ptFromRadius
ToolHandle< PtFromRadius > m_ptFromRadius
Definition: MuFastTrackFitter.h:66
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
TrigL2MuonSA::MuFastTrackFitter::m_use_endcapInnerFromBarrel
BooleanProperty m_use_endcapInnerFromBarrel
Definition: MuFastTrackFitter.h:58
TrackData.h
TrigL2MuonSA::MuFastTrackFitter::MuFastTrackFitter
MuFastTrackFitter(const std::string &type, const std::string &name, const IInterface *parent)
Definition: MuFastTrackFitter.cxx:12
AlphaBetaEstimate.h
PtEndcapLUTSvc.h
AlignmentBarrelLUTSvc.h
TrigL2MuonSA::MuFastTrackFitter::m_use_mcLUT
BooleanProperty m_use_mcLUT
Definition: MuFastTrackFitter.h:57
TrigL2MuonSA::MuonRoad
Definition: MuonRoad.h:20
TrigL2MuonSA::MuFastTrackFitter::m_alphaBetaEstimate
ToolHandle< AlphaBetaEstimate > m_alphaBetaEstimate
Definition: MuFastTrackFitter.h:63
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigL2MuonSA::MuFastTrackFitter::initialize
virtual StatusCode initialize() override
Definition: MuFastTrackFitter.cxx:22
AthAlgTool.h
PtBarrelLUTSvc.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
RpcFitResult.h
TgcFitResult.h
TrigL2MuonSA::MuFastTrackFitter
Definition: MuFastTrackFitter.h:29
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PtFromAlphaBeta.h
TrigL2MuonSA::MuFastTrackFitter::m_ptFromAlphaBeta
ToolHandle< PtFromAlphaBeta > m_ptFromAlphaBeta
Definition: MuFastTrackFitter.h:68
TrigRoiDescriptor.h
TrigL2MuonSA::MuFastTrackFitter::findTracks
StatusCode findTracks(const TrigRoiDescriptor *p_roids, TrigL2MuonSA::RpcFitResult &rpcFitResult, std::vector< TrigL2MuonSA::TrackPattern > &v_trackPatterns) const
Definition: MuFastTrackFitter.cxx:132
TrigL2MuonSA::MuFastTrackFitter::m_sagittaRadiusEstimate
ToolHandle< SagittaRadiusEstimate > m_sagittaRadiusEstimate
Definition: MuFastTrackFitter.h:61
TrigL2MuonSA::MuFastTrackFitter::setUseEIFromBarrel
void setUseEIFromBarrel(BooleanProperty use_endcapInnerFromBarrel)
Definition: MuFastTrackFitter.h:51
AthAlgTool
Definition: AthAlgTool.h:26
PtFromRadius.h
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13