ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigL2MuonSA
src
PtFromAlphaBeta.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_PTFROMALPHABETA_H
6
#define TRIGL2MUONSA_PTFROMALPHABETA_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
10
#include "GaudiKernel/ServiceHandle.h"
11
12
#include "
TrackData.h
"
13
#include "
PtEndcapLUTSvc.h
"
14
#include "
PtEndcapLUT.h
"
15
#include "
TgcFitResult.h
"
16
17
namespace
TrigL2MuonSA
{
18
19
class
PtFromAlphaBeta
:
public
AthAlgTool
20
{
21
public
:
22
23
PtFromAlphaBeta
(
const
std::string&
type
,
24
const
std::string& name,
25
const
IInterface* parent);
26
27
virtual
StatusCode
initialize
()
override
;
28
29
void
setMCFlag
(
bool
use_mcLUT,
30
const
TrigL2MuonSA::PtEndcapLUTSvc
* ptEndcapLUTSvc);
31
32
public
:
33
34
StatusCode
setPt
(
TrigL2MuonSA::TrackPattern
& trackPattern,
35
TrigL2MuonSA::TgcFitResult
& tgcFitResult)
const
;
36
37
double
compute_radius
(
double
InnerSlope,
double
InnerR,
double
InnerZ,
38
double
MiddleSlope,
double
MiddleR,
double
MiddleZ,
39
double
sign
);
40
41
private
:
42
43
float
f
(
float
x
,
float
c0,
float
c1,
float
c2,
float
c3)
const
;
44
float
fp
(
float
x
,
float
c33,
float
c22,
float
c1)
const
;
45
46
bool
m_use_mcLUT
{
false
};
47
Gaudi::Property< bool >
m_use_cscpt
{
48
this
,
"useCscPt"
,
false
,
""
};
49
Gaudi::Property< bool >
m_avoid_misaligned_cscs
{
50
this
,
"AvoidMisalignedCSCs"
,
true
,
"avoid using the 2 new chambers, whose alignment is not completed"
};
51
52
const
ToolHandle<PtEndcapLUT>*
m_ptEndcapLUT
{
nullptr
};
53
54
};
55
56
}
// namespace TrigL2MuonSA
57
58
#endif
// PTFROMALPHABETA_H
AthAlgTool.h
PtEndcapLUTSvc.h
PtEndcapLUT.h
sign
int sign(int a)
Definition
TRT_StrawNeighbourSvc.h:108
TgcFitResult.h
TrackData.h
x
#define x
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
TrigL2MuonSA::PtEndcapLUTSvc
Definition
PtEndcapLUTSvc.h:20
TrigL2MuonSA::PtFromAlphaBeta::m_use_cscpt
Gaudi::Property< bool > m_use_cscpt
Definition
PtFromAlphaBeta.h:47
TrigL2MuonSA::PtFromAlphaBeta::PtFromAlphaBeta
PtFromAlphaBeta(const std::string &type, const std::string &name, const IInterface *parent)
Definition
PtFromAlphaBeta.cxx:14
TrigL2MuonSA::PtFromAlphaBeta::fp
float fp(float x, float c33, float c22, float c1) const
TrigL2MuonSA::PtFromAlphaBeta::m_avoid_misaligned_cscs
Gaudi::Property< bool > m_avoid_misaligned_cscs
Definition
PtFromAlphaBeta.h:49
TrigL2MuonSA::PtFromAlphaBeta::m_ptEndcapLUT
const ToolHandle< PtEndcapLUT > * m_ptEndcapLUT
Definition
PtFromAlphaBeta.h:52
TrigL2MuonSA::PtFromAlphaBeta::compute_radius
double compute_radius(double InnerSlope, double InnerR, double InnerZ, double MiddleSlope, double MiddleR, double MiddleZ, double sign)
TrigL2MuonSA::PtFromAlphaBeta::setMCFlag
void setMCFlag(bool use_mcLUT, const TrigL2MuonSA::PtEndcapLUTSvc *ptEndcapLUTSvc)
Definition
PtFromAlphaBeta.cxx:34
TrigL2MuonSA::PtFromAlphaBeta::m_use_mcLUT
bool m_use_mcLUT
Definition
PtFromAlphaBeta.h:46
TrigL2MuonSA::PtFromAlphaBeta::initialize
virtual StatusCode initialize() override
Definition
PtFromAlphaBeta.cxx:24
TrigL2MuonSA::PtFromAlphaBeta::f
float f(float x, float c0, float c1, float c2, float c3) const
TrigL2MuonSA::PtFromAlphaBeta::setPt
StatusCode setPt(TrigL2MuonSA::TrackPattern &trackPattern, TrigL2MuonSA::TgcFitResult &tgcFitResult) const
Definition
PtFromAlphaBeta.cxx:44
TrigL2MuonSA::TgcFitResult
Definition
TgcFitResult.h:11
TrigL2MuonSA::TrackPattern
Definition
TrackData.h:16
TrigL2MuonSA
Definition
AlignmentBarrelLUT.h:13
type
Generated on
for ATLAS Offline Software by
1.17.0