ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
SiClusterOnTrackTool
SiClusterOnTrackTool
SCT_ClusterOnTrackTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// Header file for class SCT_ClusterOnTrackTool
8
// (c) ATLAS Detector software
10
// Interface for SCT_ClusterOnTrack production
12
// started 1/05/2004 I.Gavrilenko - see ChangeLog for details
14
15
#ifndef SCT_ClusterOnTrackTool_H
16
#define SCT_ClusterOnTrackTool_H
17
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
AthenaBaseComps/AthAlgTool.h
"
20
#include "
TrkToolInterfaces/IRIO_OnTrackCreator.h
"
21
22
#include "
InDetCondTools/ISiLorentzAngleTool.h
"
23
#include "
InDetRIO_OnTrack/SCT_ClusterOnTrack.h
"
24
#include "
InDetRIO_OnTrack/SCTRIO_OnTrackErrorScaling.h
"
25
#include "
TrkParameters/TrackParameters.h
"
26
27
namespace
InDet
{
28
29
38
class
SCT_ClusterOnTrackTool
final:
39
public
AthAlgTool
,
virtual
public
Trk::IRIO_OnTrackCreator
40
{
42
// Public methods:
44
45
public
:
46
48
SCT_ClusterOnTrackTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
49
virtual
~SCT_ClusterOnTrackTool
() =
default
;
51
virtual
StatusCode
initialize
()
override
;
53
virtual
StatusCode
finalize
()
override
;
54
55
62
virtual
InDet::SCT_ClusterOnTrack
*
correct
(
63
const
Trk::PrepRawData
&,
const
Trk::TrackParameters
&,
const
EventContext&)
const override
;
64
73
static
double
getCorrection
(
double
phi
,
int
nstrip) ;
74
75
86
static
double
getError
(
double
phi
,
int
nstrip) ;
87
88
private
:
89
91
// Private data:
93
95
SG::ReadCondHandleKey<RIO_OnTrackErrorScaling>
m_sctErrorScalingKey
96
{
this
,
"SCTErrorScalingKey"
,
"/Indet/TrkErrorScalingSCT"
,
"Key for SCT error scaling conditions data."
};
97
98
ToolHandle<ISiLorentzAngleTool>
m_lorentzAngleTool
99
{
this
,
"LorentzAngleTool"
,
"SiLorentzAngleTool"
,
"Tool to retrieve Lorentz angle"
};
100
102
BooleanProperty
m_option_make2dimBarrelClusters
103
{
this
,
"MakeTwoDimBarrelClusters"
,
false
,
104
"flag if strip length should be part of the measurement"
};
105
IntegerProperty
m_option_errorStrategy
106
{
this
,
"ErrorStrategy"
, -1,
107
"if ErrorStrategy < 0, keep previous errors else recompute"
};
108
IntegerProperty
m_option_correctionStrategy
109
{
this
,
"CorrectionStrategy"
, -1,
110
"if CorrectionStrategy >= 0, apply a correction to the cluster position"
};
111
};
112
113
}
// end of namespace InDet
114
115
#endif
// SCT_ClusterOnTrackTool_H
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
AthAlgTool.h
IRIO_OnTrackCreator.h
ISiLorentzAngleTool.h
SCTRIO_OnTrackErrorScaling.h
SCT_ClusterOnTrack.h
TrackParameters.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
InDet::SCT_ClusterOnTrackTool::m_sctErrorScalingKey
SG::ReadCondHandleKey< RIO_OnTrackErrorScaling > m_sctErrorScalingKey
toolhandle for central error scaling
Definition
SCT_ClusterOnTrackTool.h:96
InDet::SCT_ClusterOnTrackTool::~SCT_ClusterOnTrackTool
virtual ~SCT_ClusterOnTrackTool()=default
InDet::SCT_ClusterOnTrackTool::correct
virtual InDet::SCT_ClusterOnTrack * correct(const Trk::PrepRawData &, const Trk::TrackParameters &, const EventContext &) const override
produces an SCT_ClusterOnTrack using the measured SCT_Cluster and the track prediction.
Definition
SCT_ClusterOnTrackTool.cxx:94
InDet::SCT_ClusterOnTrackTool::m_option_make2dimBarrelClusters
BooleanProperty m_option_make2dimBarrelClusters
job options
Definition
SCT_ClusterOnTrackTool.h:103
InDet::SCT_ClusterOnTrackTool::m_lorentzAngleTool
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
Definition
SCT_ClusterOnTrackTool.h:99
InDet::SCT_ClusterOnTrackTool::m_option_errorStrategy
IntegerProperty m_option_errorStrategy
Definition
SCT_ClusterOnTrackTool.h:106
InDet::SCT_ClusterOnTrackTool::SCT_ClusterOnTrackTool
SCT_ClusterOnTrackTool(const std::string &, const std::string &, const IInterface *)
AlgTool constructor.
Definition
SCT_ClusterOnTrackTool.cxx:31
InDet::SCT_ClusterOnTrackTool::getCorrection
static double getCorrection(double phi, int nstrip)
Returns a correction to be applied to the SCT cluster local x position in simulated events to remove ...
Definition
SCT_ClusterOnTrackTool.cxx:250
InDet::SCT_ClusterOnTrackTool::initialize
virtual StatusCode initialize() override
AlgTool initialisation.
Definition
SCT_ClusterOnTrackTool.cxx:41
InDet::SCT_ClusterOnTrackTool::getError
static double getError(double phi, int nstrip)
Returns the resolution on the reconstructed position (local x) of SCT clusters in simulated events.
Definition
SCT_ClusterOnTrackTool.cxx:284
InDet::SCT_ClusterOnTrackTool::m_option_correctionStrategy
IntegerProperty m_option_correctionStrategy
Definition
SCT_ClusterOnTrackTool.h:109
InDet::SCT_ClusterOnTrackTool::finalize
virtual StatusCode finalize() override
AlgTool termination.
Definition
SCT_ClusterOnTrackTool.cxx:82
InDet::SCT_ClusterOnTrack
Specific class to represent the SCT measurements.
Definition
SCT_ClusterOnTrack.h:44
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Trk::IRIO_OnTrackCreator
Interface class for transforming Trk::PrepRawData to Trk::RIO_OnTrack using a local track hypothesis.
Definition
IRIO_OnTrackCreator.h:34
Trk::PrepRawData
Definition
PrepRawData.h:62
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Trk::TrackParameters
ParametersBase< TrackParametersDim, Charged > TrackParameters
Definition
Tracking/TrkEvent/TrkParameters/TrkParameters/TrackParameters.h:27
Generated on
for ATLAS Offline Software by
1.17.0