Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-15 08:14:07

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/Geometry/VolumeBounds.hpp"
0010 
0011 std::ostream& Acts::operator<<(std::ostream& sl, const VolumeBounds& vb) {
0012   return vb.toStream(sl);
0013 }
0014 
0015 std::ostream& Acts::operator<<(std::ostream& sl,
0016                                const VolumeBounds::BoundsType& bt) {
0017   switch (bt) {
0018     using enum VolumeBounds::BoundsType;
0019     case eCone:
0020       sl << "Cone";
0021       break;
0022     case eCuboid:
0023       sl << "Cuboid";
0024       break;
0025     case eCutoutCylinder:
0026       sl << "CutoutCylinder";
0027       break;
0028     case eCylinder:
0029       sl << "Cylinder";
0030       break;
0031     case eGenericCuboid:
0032       sl << "GenericCuboid";
0033       break;
0034     case eTrapezoid:
0035       sl << "Trapezoid";
0036       break;
0037     case eOther:
0038       sl << "Other";
0039       break;
0040   }
0041   return sl;
0042 }