ATLAS Offline Software
ApproximateTrackToLayerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGEFMISSINGET_APPROXIMATETRACKTOLAYERTOOL_H
6 #define TRIGEFMISSINGET_APPROXIMATETRACKTOLAYERTOOL_H
7 
9 #include "AsgTools/AsgTool.h"
10 
12 {
13 public:
15 
16  ApproximateTrackToLayerTool(const std::string &name);
17 
19  const EventContext &,
20  const xAOD::TrackParticle &track) const override;
21 
22 private:
23  // Extrapolation approximation taken from ATL-COM-PHYS-2016-430
24  Gaudi::Property<double> m_trackExtrapolationQuartic{
25  this, "TrackExtrapolationQuarticTerm", 14.6027571,
26  "The quartic term in the track extrapolation"};
27  Gaudi::Property<double> m_trackExtrapolationQuadratic{
28  this, "TrackExtrapolationQuadraticTerm", -44.7818374,
29  "The quadratic term in the track extrapolation"};
30  Gaudi::Property<double> m_trackExtrapolationLinear{
31  this, "TrackExtrapolationLinearTerm", 540.656643,
32  "The linear term in the track extrapolation"};
33 }; //> end class ApproximateTrackToLayerTool
34 
35 #endif //> !TRIGEFMISSINGET_APPROXIMATETRACKTOLAYERTOOL_H
ApproximateTrackToLayerTool::ApproximateTrackToLayerTool
ApproximateTrackToLayerTool(const std::string &name)
Definition: ApproximateTrackToLayerTool.cxx:7
IExtendTrackToLayerTool
Definition: IExtendTrackToLayerTool.h:14
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
ApproximateTrackToLayerTool::m_trackExtrapolationLinear
Gaudi::Property< double > m_trackExtrapolationLinear
Definition: ApproximateTrackToLayerTool.h:30
IExtendTrackToLayerTool.h
ApproximateTrackToLayerTool::m_trackExtrapolationQuadratic
Gaudi::Property< double > m_trackExtrapolationQuadratic
Definition: ApproximateTrackToLayerTool.h:27
IExtendTrackToLayerTool::TrackExtension
Helper struct to hold track extrapolation information.
Definition: IExtendTrackToLayerTool.h:27
ApproximateTrackToLayerTool
Definition: ApproximateTrackToLayerTool.h:12
ApproximateTrackToLayerTool::m_trackExtrapolationQuartic
Gaudi::Property< double > m_trackExtrapolationQuartic
Definition: ApproximateTrackToLayerTool.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ApproximateTrackToLayerTool::extendTrack
virtual TrackExtension extendTrack(const EventContext &, const xAOD::TrackParticle &track) const override
Extend the track to a given layer.
Definition: ApproximateTrackToLayerTool.cxx:11
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
AsgTool.h