Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-22 09:33:49

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/VolumeAttachmentStrategy.hpp"
0010 
0011 namespace Acts {
0012 std::ostream& operator<<(std::ostream& os, VolumeAttachmentStrategy strategy) {
0013   switch (strategy) {
0014     case VolumeAttachmentStrategy::First:
0015       os << "First";
0016       break;
0017     case VolumeAttachmentStrategy::Second:
0018       os << "Second";
0019       break;
0020     case VolumeAttachmentStrategy::Midpoint:
0021       os << "Midpoint";
0022       break;
0023     case VolumeAttachmentStrategy::Gap:
0024       os << "Gap";
0025       break;
0026     default:
0027       os << "Unknown";
0028       break;
0029   }
0030   return os;
0031 }
0032 
0033 }  // namespace Acts