ECCE @ EIC Software
Reference for
ECCE @ 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
10
// BoundarySurfaceFace.h, Acts project
12
13
#pragma once
14
15
#include <iostream>
16
17
namespace
Acts {
18
30
31
enum
BoundarySurfaceFace
{
32
negativeFaceXY
= 0,
33
positiveFaceXY
= 1,
34
negativeFaceYZ
= 2,
35
positiveFaceYZ
= 3,
36
negativeFaceZX
= 4,
37
positiveFaceZX
= 5,
38
cylinderCover
= 2,
39
tubeInnerCover
= 3,
40
tubeOuterCover
= 2,
41
tubeSectorNegativePhi
= 4,
42
tubeSectorPositivePhi
= 5,
43
tubeSectorInnerCover
= 3,
44
tubeSectorOuterCover
= 2,
45
trapezoidFaceAlpha
= 2,
46
trapezoidFaceBeta
= 3,
47
index0
= 0,
48
index1
= 1,
49
index2
= 2,
50
index3
= 3,
51
index4
= 4,
52
index5
= 5,
53
index6
= 6,
54
index7
= 7,
55
index8
= 8,
56
index9
= 9,
57
index10
= 10,
58
index11
= 11,
59
undefinedFace
= 99
60
61
};
62
64
enum
BoundaryOrientation
{
insideVolume
= -1,
outsideVolume
= 1 };
65
66
inline
std::ostream&
operator<<
(std::ostream& os,
BoundarySurfaceFace
& face) {
67
os <<
"BoundarySurfaceFace::"
;
68
69
switch
(face) {
70
case
negativeFaceXY
:
71
os <<
"negativeFaceXY"
;
72
break
;
73
case
positiveFaceXY
:
74
os <<
"positiveFaceXY"
;
75
break
;
76
case
negativeFaceYZ
:
77
os <<
"negativeFaceYZ|cylinderCover|tubeOuterCover|tubeSectorOuterCover|"
78
"trapezoidFaceAlpha"
;
79
break
;
80
case
positiveFaceYZ
:
81
os <<
"positiveFaceYZ|tubeInnerCover|tubeSectorInnerCover|"
82
"trapezoidFaceBeta"
;
83
break
;
84
case
negativeFaceZX
:
85
os <<
"negativeFaceZX|tubeSectorNegativePhi"
;
86
break
;
87
case
positiveFaceZX
:
88
os <<
"positiveFaceZX|tubeSectorPositivePhi"
;
89
break
;
90
case
undefinedFace
:
91
os <<
"undefinedFace"
;
92
break
;
93
default
:
94
os << face;
95
}
96
97
return
os;
98
}
99
}
// namespace Acts
acts
blob
master
Core
include
Acts
Geometry
BoundarySurfaceFace.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:20
using
1.8.2 with
ECCE GitHub integration