Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Common.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Common.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 
11 #include <iosfwd>
12 
13 namespace Acts {
14 
19 enum class MaterialUpdateStage : int {
20  PreUpdate = -1,
21  FullUpdate = 0,
22  PostUpdate = 1
23 };
24 
25 std::ostream& operator<<(std::ostream& os, MaterialUpdateStage matUpdate);
26 
31 enum NoiseUpdateMode : int { removeNoise = -1, addNoise = 1 };
32 
43 enum CoordinateIndices : unsigned int {
44  // generic position-like access
45  ePos0 = 0,
46  ePos1 = 1,
47  ePos2 = 2,
48  eTime = 3,
49  // generic momentum-like access
54  // Cartesian spatial coordinates
55  eX = ePos0,
56  eY = ePos1,
57  eZ = ePos2,
58 };
59 
60 } // namespace Acts