ATLAS Offline Software
ActsMaterialStepConverterTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSGEOMETRY_ACTSMATERIALSTEPCONVERTERTOOL_H
6 #define ACTSGEOMETRY_ACTSMATERIALSTEPCONVERTERTOOL_H
7 
8 // ATHENA
10 #include "GaudiKernel/EventContext.h"
11 #include "GaudiKernel/IInterface.h"
12 #include "GaudiKernel/ServiceHandle.h"
14 
16 
17 class ActsMaterialStepConverterTool : public extends<AthAlgTool, IActsMaterialStepConverterTool>
18 {
19 
20 public:
21  virtual StatusCode initialize() override;
22 
23  ActsMaterialStepConverterTool(const std::string &type, const std::string &name,
24  const IInterface *parent);
25 
26  virtual
28  convertToMaterialTrack(const Trk::MaterialStepCollection &colStep) const override;
29 
30  static constexpr double s_tolerance{0.1}; // mm
31 
32 };
33 #endif
ActsMaterialStepConverterTool
Definition: ActsMaterialStepConverterTool.h:18
Acts::RecordedMaterialTrack
std::pair< std::pair< Acts::Vector3, Acts::Vector3 >, RecordedMaterial > RecordedMaterialTrack
Recorded material track.
Definition: ActsExtrapolationAlg.cxx:43
ActsMaterialStepConverterTool::convertToMaterialTrack
virtual const Acts::RecordedMaterialTrack convertToMaterialTrack(const Trk::MaterialStepCollection &colStep) const override
Definition: ActsMaterialStepConverterTool.cxx:39
IActsMaterialStepConverterTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ActsMaterialStepConverterTool::s_tolerance
static constexpr double s_tolerance
Definition: ActsMaterialStepConverterTool.h:30
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ActsMaterialStepConverterTool::initialize
virtual StatusCode initialize() override
Definition: ActsMaterialStepConverterTool.cxx:30
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ActsMaterialStepConverterTool::ActsMaterialStepConverterTool
ActsMaterialStepConverterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ActsMaterialStepConverterTool.cxx:23