ATLAS Offline Software
Loading...
Searching...
No Matches
MuFastTrackFitter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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"
20
22#include "AlphaBetaEstimate.h"
23#include "PtFromRadius.h"
24#include "PtFromAlphaBeta.h"
25
26namespace 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
40 StatusCode findTracks(const TrigRoiDescriptor* p_roids,
41 TrigL2MuonSA::RpcFitResult& rpcFitResult,
42 std::vector<TrigL2MuonSA::TrackPattern>& v_trackPatterns) const;
43
44 StatusCode findTracks(const TrigRoiDescriptor* p_roids,
45 TrigL2MuonSA::TgcFitResult& tgcFitResult,
46 std::vector<TrigL2MuonSA::TrackPattern>& v_trackPatterns,
47 const TrigL2MuonSA::MuonRoad& muonRoad) const;
48
49 StatusCode setMCFlag(bool use_mcLUT);
50
51 void setUseEIFromBarrel( bool use_endcapInnerFromBarrel ) {
52 m_use_endcapInnerFromBarrel = use_endcapInnerFromBarrel;
54 };
55
56 private:
57 bool m_use_mcLUT {true};
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
ToolHandle< PtFromRadius > m_ptFromRadius
ToolHandle< SagittaRadiusEstimate > m_sagittaRadiusEstimate
StatusCode setMCFlag(bool use_mcLUT)
ToolHandle< PtFromAlphaBeta > m_ptFromAlphaBeta
void setUseEIFromBarrel(bool use_endcapInnerFromBarrel)
virtual StatusCode initialize() override
ToolHandle< AlphaBetaEstimate > m_alphaBetaEstimate
StatusCode findTracks(const TrigRoiDescriptor *p_roids, TrigL2MuonSA::RpcFitResult &rpcFitResult, std::vector< TrigL2MuonSA::TrackPattern > &v_trackPatterns) const
MuFastTrackFitter(const std::string &type, const std::string &name, const IInterface *parent)
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...