Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-24 07:46:51

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #include "Acts/Material/MergedMaterialMarker.hpp"
0010 
0011 #include <ostream>
0012 
0013 namespace Acts {
0014 
0015 MergedMaterialMarker& MergedMaterialMarker::scale(double /*factor*/) {
0016   return *this;
0017 }
0018 
0019 const MaterialSlab& MergedMaterialMarker::materialSlab(
0020     const Vector2& /*lp*/) const {
0021   return m_slab;
0022 }
0023 
0024 std::vector<AxisDirection> MergedMaterialMarker::localAxisDirections() const {
0025   return {};
0026 }
0027 
0028 const MaterialSlab& MergedMaterialMarker::materialSlab(
0029     const Vector3& /*gp*/) const {
0030   return m_slab;
0031 }
0032 
0033 std::ostream& MergedMaterialMarker::toStream(std::ostream& sl) const {
0034   sl << "MergedMaterialMarker (material discarded during portal merge)";
0035   return sl;
0036 }
0037 
0038 }  // namespace Acts