Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:11:25

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