EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
BoundarySurfaceFace.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BoundarySurfaceFace.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 <iostream>
12
13
namespace
Acts {
14
26
enum
BoundarySurfaceFace
{
27
negativeFaceXY
= 0,
28
positiveFaceXY
= 1,
29
negativeFaceYZ
= 2,
30
positiveFaceYZ
= 3,
31
negativeFaceZX
= 4,
32
positiveFaceZX
= 5,
33
cylinderCover
= 2,
34
tubeInnerCover
= 3,
35
tubeOuterCover
= 2,
36
tubeSectorNegativePhi
= 4,
37
tubeSectorPositivePhi
= 5,
38
tubeSectorInnerCover
= 3,
39
tubeSectorOuterCover
= 2,
40
trapezoidFaceAlpha
= 2,
41
trapezoidFaceBeta
= 3,
42
index0
= 0,
43
index1
= 1,
44
index2
= 2,
45
index3
= 3,
46
index4
= 4,
47
index5
= 5,
48
index6
= 6,
49
index7
= 7,
50
index8
= 8,
51
index9
= 9,
52
index10
= 10,
53
index11
= 11,
54
undefinedFace
= 99
55
56
};
57
58
inline
std::ostream&
operator<<
(std::ostream& os,
BoundarySurfaceFace
& face) {
59
os <<
"BoundarySurfaceFace::"
;
60
61
switch
(face) {
62
case
negativeFaceXY
:
63
os <<
"negativeFaceXY"
;
64
break
;
65
case
positiveFaceXY
:
66
os <<
"positiveFaceXY"
;
67
break
;
68
case
negativeFaceYZ
:
69
os <<
"negativeFaceYZ|cylinderCover|tubeOuterCover|tubeSectorOuterCover|"
70
"trapezoidFaceAlpha"
;
71
break
;
72
case
positiveFaceYZ
:
73
os <<
"positiveFaceYZ|tubeInnerCover|tubeSectorInnerCover|"
74
"trapezoidFaceBeta"
;
75
break
;
76
case
negativeFaceZX
:
77
os <<
"negativeFaceZX|tubeSectorNegativePhi"
;
78
break
;
79
case
positiveFaceZX
:
80
os <<
"positiveFaceZX|tubeSectorPositivePhi"
;
81
break
;
82
case
undefinedFace
:
83
os <<
"undefinedFace"
;
84
break
;
85
default
:
86
os << face;
87
}
88
89
return
os;
90
}
91
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Geometry
BoundarySurfaceFace.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:22
using
1.8.2 with
EIC GitHub integration