ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigL2MuonSA
src
SagittaRadiusEstimate.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_SAGITTARADIUSESTIMATE_H
6
#define TRIGL2MUONSA_SAGITTARADIUSESTIMATE_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
10
#include "GaudiKernel/ServiceHandle.h"
11
12
#include "
TrigSteeringEvent/TrigRoiDescriptor.h
"
13
14
#include "
RpcFitResult.h
"
15
#include "
TrackData.h
"
16
17
#include "
AlignmentBarrelLUTSvc.h
"
18
#include "
AlignmentBarrelLUT.h
"
19
20
namespace
TrigL2MuonSA
{
21
22
class
SagittaRadiusEstimate
:
public
AthAlgTool
23
{
24
public
:
25
26
SagittaRadiusEstimate
(
const
std::string&
type
,
27
const
std::string& name,
28
const
IInterface* parent);
29
30
void
setMCFlag
(
bool
use_mcLUT,
31
const
AlignmentBarrelLUTSvc
* alignmentBarrelLUTSvc);
32
33
void
setUseEndcapInner
(
bool
use_endcapInner ){
m_use_endcapInner
= use_endcapInner; };
34
35
public
:
36
37
StatusCode
setSagittaRadius
(
const
TrigRoiDescriptor
* p_roids,
38
TrigL2MuonSA::RpcFitResult
& rpcFitResult,
39
TrigL2MuonSA::TrackPattern
& trackPattern)
const
;
40
41
private
:
42
43
bool
m_use_mcLUT
{
false
};
44
45
bool
m_use_endcapInner
{
false
};
46
47
const
ToolHandle<AlignmentBarrelLUT>*
m_alignmentBarrelLUT
=
nullptr
;
48
49
float
f
(
float
x
,
float
c0,
float
c1,
float
c2,
float
c3)
const
;
50
float
fp
(
float
x
,
float
c33,
float
c22,
float
c1)
const
;
51
};
52
53
54
inline
float
TrigL2MuonSA::SagittaRadiusEstimate::f
(
float
x
,
float
c0,
float
c1,
float
c2,
float
c3)
const
55
{
56
return
c0 +
x
* (c1 +
x
* (c2 +
x
* c3));
57
}
58
59
inline
float
TrigL2MuonSA::SagittaRadiusEstimate::fp
(
float
x
,
float
c33,
float
c22,
float
c1)
const
60
{
61
return
c1 +
x
* (c22 +
x
* c33);
62
}
63
64
}
// namespace TrigL2MuonSA
65
66
#endif
// SAGITTARADIUSESTIMATE_H
AlignmentBarrelLUTSvc.h
AlignmentBarrelLUT.h
AthAlgTool.h
RpcFitResult.h
TrackData.h
TrigRoiDescriptor.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::AlignmentBarrelLUTSvc
Definition
AlignmentBarrelLUTSvc.h:18
TrigL2MuonSA::RpcFitResult
Definition
RpcFitResult.h:14
TrigL2MuonSA::SagittaRadiusEstimate::m_alignmentBarrelLUT
const ToolHandle< AlignmentBarrelLUT > * m_alignmentBarrelLUT
Definition
SagittaRadiusEstimate.h:47
TrigL2MuonSA::SagittaRadiusEstimate::setSagittaRadius
StatusCode setSagittaRadius(const TrigRoiDescriptor *p_roids, TrigL2MuonSA::RpcFitResult &rpcFitResult, TrigL2MuonSA::TrackPattern &trackPattern) const
Definition
SagittaRadiusEstimate.cxx:37
TrigL2MuonSA::SagittaRadiusEstimate::setUseEndcapInner
void setUseEndcapInner(bool use_endcapInner)
Definition
SagittaRadiusEstimate.h:33
TrigL2MuonSA::SagittaRadiusEstimate::m_use_endcapInner
bool m_use_endcapInner
Definition
SagittaRadiusEstimate.h:45
TrigL2MuonSA::SagittaRadiusEstimate::f
float f(float x, float c0, float c1, float c2, float c3) const
Definition
SagittaRadiusEstimate.h:54
TrigL2MuonSA::SagittaRadiusEstimate::SagittaRadiusEstimate
SagittaRadiusEstimate(const std::string &type, const std::string &name, const IInterface *parent)
Definition
SagittaRadiusEstimate.cxx:17
TrigL2MuonSA::SagittaRadiusEstimate::m_use_mcLUT
bool m_use_mcLUT
Definition
SagittaRadiusEstimate.h:43
TrigL2MuonSA::SagittaRadiusEstimate::setMCFlag
void setMCFlag(bool use_mcLUT, const AlignmentBarrelLUTSvc *alignmentBarrelLUTSvc)
Definition
SagittaRadiusEstimate.cxx:27
TrigL2MuonSA::SagittaRadiusEstimate::fp
float fp(float x, float c33, float c22, float c1) const
Definition
SagittaRadiusEstimate.h:59
TrigL2MuonSA::TrackPattern
Definition
TrackData.h:16
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
Definition
TrigRoiDescriptor.h:48
TrigL2MuonSA
Definition
AlignmentBarrelLUT.h:13
type
Generated on
for ATLAS Offline Software by
1.17.0