ATLAS Offline Software
Loading...
Searching...
No Matches
ITkStripClusterOnTrackTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Header file for class StripClusterOnTrackTool
8// (c) ATLAS Detector software
10// Interface for StripClusterOnTrack production
12
13#ifndef ITkStripClusterOnTrackTool_H
14#define ITkStripClusterOnTrackTool_H
15
16#include "GaudiKernel/ToolHandle.h"
17#include "GaudiKernel/ThreadLocalContext.h"
20
24
25namespace ITk {
26
36 public AthAlgTool,virtual public Trk::IRIO_OnTrackCreator
37{
39 // Public methods:
41
42public:
43
45 StripClusterOnTrackTool(const std::string&,const std::string&,const IInterface*);
46 virtual ~StripClusterOnTrackTool () = default;
48 virtual StatusCode initialize() override;
49
50
57 const Trk::PrepRawData&, const Trk::TrackParameters&, const EventContext& ctx = Gaudi::Hive::currentContext()) const override;
58
59 private:
60
62 // Private data:
64
67 {this,"ErrorScalingKey", "/Indet/TrkErrorScalingITkStrip", "Key for ITkStrip error scaling conditions data."};
68 IntegerProperty m_option_errorStrategy{this, "ErrorStrategy", -1, "if ErrorStrategy < 0, keep previous errors else recompute"};
69 IntegerProperty m_option_correctionStrategy{this, "CorrectionStrategy", -1, "if CorrectionStrategy >= 0, apply correction to position"};
70
71};
72
73} // end of namespace ITk
74
75#endif // ITkStripClusterOnTrackTool_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual ~StripClusterOnTrackTool()=default
StripClusterOnTrackTool(const std::string &, const std::string &, const IInterface *)
AlgTool constructor.
virtual StatusCode initialize() override
AlgTool initialisation.
virtual InDet::SCT_ClusterOnTrack * correct(const Trk::PrepRawData &, const Trk::TrackParameters &, const EventContext &ctx=Gaudi::Hive::currentContext()) const override
produces an SCT_ClusterOnTrack for ITk strip clusters using the measured SCT_Cluster and the track pr...
SG::ReadCondHandleKey< RIO_OnTrackErrorScaling > m_stripErrorScalingKey
toolhandle for central error scaling
Specific class to represent the SCT measurements.
Interface class for transforming Trk::PrepRawData to Trk::RIO_OnTrack using a local track hypothesis.
ParametersBase< TrackParametersDim, Charged > TrackParameters