Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-10-17 07:58:34

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 #pragma once
0010 
0011 #include <ostream>
0012 
0013 namespace Acts {
0014 
0015 /// The resize strategy defines how the volumes are resized
0016 enum class VolumeResizeStrategy {
0017   /// Extend the volume connected to the respective edge to fit the new bounds
0018   Expand,
0019   /// Create a gap volume at the respective edge to fit the new bounds
0020   Gap,
0021 };
0022 
0023 /// Stream operator for VolumeResizeStrategy
0024 /// @param os Output stream
0025 /// @param strategy VolumeResizeStrategy to output
0026 /// @return Reference to output stream
0027 std::ostream& operator<<(std::ostream& os, VolumeResizeStrategy strategy);
0028 
0029 }  // namespace Acts