diff --git a/Core/include/Acts/Material/AccumulatedSurfaceMaterial.hpp b/Core/include/Acts/Material/AccumulatedSurfaceMaterial.hpp index 12c233a37e2..7107410bfec 100644 --- a/Core/include/Acts/Material/AccumulatedSurfaceMaterial.hpp +++ b/Core/include/Acts/Material/AccumulatedSurfaceMaterial.hpp @@ -37,7 +37,7 @@ class AccumulatedSurfaceMaterial { /// Default Constructor - for homogeneous material /// /// @param splitFactor is the pre/post splitting directive - explicit AccumulatedSurfaceMaterial(double splitFactor = 0.); + AccumulatedSurfaceMaterial(double splitFactor = 0.); /// Explicit constructor with only full MaterialSlab, /// for one-dimensional binning. diff --git a/Core/include/Acts/Material/HomogeneousVolumeMaterial.hpp b/Core/include/Acts/Material/HomogeneousVolumeMaterial.hpp index 0bb49452cd3..91005dcae55 100644 --- a/Core/include/Acts/Material/HomogeneousVolumeMaterial.hpp +++ b/Core/include/Acts/Material/HomogeneousVolumeMaterial.hpp @@ -25,7 +25,7 @@ class HomogeneousVolumeMaterial : public IVolumeMaterial { /// Explicit constructor /// /// @param material is the material held by this - explicit HomogeneousVolumeMaterial(const Material& material); + HomogeneousVolumeMaterial(const Material& material); /// Copy Constructor /// diff --git a/Core/include/Acts/Material/ISurfaceMaterial.hpp b/Core/include/Acts/Material/ISurfaceMaterial.hpp index ebeb5ff45af..a379e18e715 100644 --- a/Core/include/Acts/Material/ISurfaceMaterial.hpp +++ b/Core/include/Acts/Material/ISurfaceMaterial.hpp @@ -38,7 +38,7 @@ class ISurfaceMaterial { /// Constructor /// /// @param splitFactor is the splitting ratio between pre/post update - explicit ISurfaceMaterial(double splitFactor) : m_splitFactor(splitFactor) {} + ISurfaceMaterial(double splitFactor) : m_splitFactor(splitFactor) {} /// Constructor /// diff --git a/Core/include/Acts/Material/InterpolatedMaterialMap.hpp b/Core/include/Acts/Material/InterpolatedMaterialMap.hpp index 5c0f1014fe9..eb792539871 100644 --- a/Core/include/Acts/Material/InterpolatedMaterialMap.hpp +++ b/Core/include/Acts/Material/InterpolatedMaterialMap.hpp @@ -247,8 +247,7 @@ class InterpolatedMaterialMap : public IVolumeMaterial { /// @brief Create interpolated map /// /// @param [in] mapper Material map - explicit InterpolatedMaterialMap(Mapper_t&& mapper) - : m_mapper(std::move(mapper)) {} + InterpolatedMaterialMap(Mapper_t&& mapper) : m_mapper(std::move(mapper)) {} /// @brief Create interpolated map /// diff --git a/Core/include/Acts/Material/MaterialInteraction.hpp b/Core/include/Acts/Material/MaterialInteraction.hpp index 0a02bf1e398..e3b078d310a 100644 --- a/Core/include/Acts/Material/MaterialInteraction.hpp +++ b/Core/include/Acts/Material/MaterialInteraction.hpp @@ -32,11 +32,11 @@ struct InteractionVolume { /// Constructor from tracking volume /// @param tv The tracking volume - explicit InteractionVolume(const TrackingVolume* tv) : trackingVolume(tv) {} + InteractionVolume(const TrackingVolume* tv) : trackingVolume(tv) {} /// Constructor from detector volume /// @param dv The detector volume - explicit InteractionVolume(const Experimental::DetectorVolume* dv) + InteractionVolume(const Experimental::DetectorVolume* dv) : detectorVolume(dv) {} /// Forward the geometry identifier diff --git a/Core/include/Acts/Material/PropagatorMaterialAssigner.hpp b/Core/include/Acts/Material/PropagatorMaterialAssigner.hpp index 0f4d3275545..5c3c0fa0339 100644 --- a/Core/include/Acts/Material/PropagatorMaterialAssigner.hpp +++ b/Core/include/Acts/Material/PropagatorMaterialAssigner.hpp @@ -98,7 +98,7 @@ class PropagatorMaterialAssigner final : public IAssignmentFinder { public: /// @brief Construct with propagator /// @param propagator - explicit PropagatorMaterialAssigner(propagator_t propagator) + PropagatorMaterialAssigner(propagator_t propagator) : m_propagator(std::move(propagator)) {} /// @brief Method for generating assignment candidates for the diff --git a/Core/include/Acts/Material/ProtoVolumeMaterial.hpp b/Core/include/Acts/Material/ProtoVolumeMaterial.hpp index d26769c790a..38206e8f6dc 100644 --- a/Core/include/Acts/Material/ProtoVolumeMaterial.hpp +++ b/Core/include/Acts/Material/ProtoVolumeMaterial.hpp @@ -35,7 +35,7 @@ class ProtoVolumeMaterial : public IVolumeMaterial { /// /// @param binUtility a BinUtility determining the granularity /// and binning of the material on the volume - explicit ProtoVolumeMaterial(const BinUtility& binUtility); + ProtoVolumeMaterial(const BinUtility& binUtility); /// Copy constructor /// diff --git a/Core/src/Material/VolumeMaterialMapper.cpp b/Core/src/Material/VolumeMaterialMapper.cpp index 8074ed52d04..ca7c00b5730 100644 --- a/Core/src/Material/VolumeMaterialMapper.cpp +++ b/Core/src/Material/VolumeMaterialMapper.cpp @@ -498,7 +498,7 @@ void Acts::VolumeMaterialMapper::mapMaterialTrack( sfIter++; } } - rmIter->volume = InteractionVolume{volIter->volume}; + rmIter->volume = volIter->volume; rmIter->intersectionID = currentID; rmIter->intersection = rmIter->position; }