ATLAS Offline Software
Loading...
Searching...
No Matches
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
17class ActsMaterialStepConverterTool : public extends<AthAlgTool, IActsMaterialStepConverterTool>
18{
19
20public:
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(const std::string &type, const std::string &name, const IInterface *parent)
virtual const Acts::RecordedMaterialTrack convertToMaterialTrack(const Trk::MaterialStepCollection &colStep) const override
std::pair< std::pair< Acts::Vector3, Acts::Vector3 >, RecordedMaterial > RecordedMaterialTrack
Recorded material track.
DataVector< Trk::MaterialStep > MaterialStepCollection