Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BinningType.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file BinningType.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2016-2018 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 #include <string>
11 #include <vector>
12 
13 namespace Acts {
14 
30 
33 
35 enum BinningValue : int {
36  binX = 0,
37  binY = 1,
38  binZ = 2,
39  binR = 3,
40  binPhi = 4,
41  binRPhi = 5,
42  binH = 6,
43  binEta = 7,
44  binMag = 8,
46 };
47 
49 static const std::vector<BinningValue> s_binningValues = {
51 
53 inline const std::vector<std::string>& binningValueNames() {
54  static const std::vector<std::string> _binningValueNames = {
55  "binX", "binY", "binZ", "binR", "binPhi",
56  "binRPhi", "binH", "binEta", "binMag"};
57  return _binningValueNames;
58 }
59 } // namespace Acts