Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Acts/Utilities/BinningType.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 <string>
0012 #include <type_traits>
0013 #include <vector>
0014 
0015 namespace Acts {
0016 
0017 /// @enum BinningType, BinningOption & BinningAccess
0018 ///
0019 ///- BinningType:
0020 ///
0021 ///  Enumeration to qualify the binning type for the use of the
0022 ///  LayerArrayCreator and the TrackingVolumeArrayCreator
0023 ///
0024 /// - BinningOption:
0025 ///   open:   [0,max]
0026 ///   closed:  0 -> nextbin -> max -> 0
0027 ///
0028 /// - AxisDirection
0029 ///   necessary access to global positions
0030 ///
0031 enum BinningType { equidistant, arbitrary };
0032 
0033 /// @brief flag for open/closed bins
0034 enum BinningOption { open, closed };
0035 
0036 }  // namespace Acts