Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:13:59

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 attachment strategy defines how the volumes are attached
0016 /// Attachment always happens pair-wise
0017 enum class VolumeAttachmentStrategy {
0018   /// Given two volumes, the *left* one, i.e. the one with the lower **local**
0019   /// x, y, or z value is extended
0020   First,
0021   /// Given two volumes, the *right* one, i.e. the one with the higher
0022   /// **local** x, y, or z value is extended
0023   Second,
0024   /// Given two volumes, the *midpoint* between the two volumes is found
0025   Midpoint,
0026   /// A gap volume is created to fit between the two volumes
0027   Gap,
0028 };
0029 
0030 std::ostream& operator<<(std::ostream& os, VolumeAttachmentStrategy strategy);
0031 
0032 }  // namespace Acts