Geometry
CaloTopology
src
CaloDirection.cc
Go to the documentation of this file.
1
#include "
Geometry/CaloTopology/interface/CaloDirection.h
"
2
#include <iostream>
3
4
std::ostream&
operator<<
(std::ostream&
o
,
const
CaloDirection
&
d
) {
5
switch
(
d
) {
6
case
NONE
:
7
o
<<
"NONE"
;
8
break
;
9
case
SOUTH
:
10
o
<<
"SOUTH"
;
11
break
;
12
case
SOUTHEAST
:
13
o
<<
"SOUTHEAST"
;
14
break
;
15
case
SOUTHWEST
:
16
o
<<
"SOUTHWEST"
;
17
break
;
18
case
EAST
:
19
o
<<
"EAST"
;
20
break
;
21
case
WEST
:
22
o
<<
"WEST"
;
23
break
;
24
case
NORTHEAST
:
25
o
<<
"NORTHEAST"
;
26
break
;
27
case
NORTHWEST
:
28
o
<<
"NORTHWEST"
;
29
break
;
30
case
NORTH
:
31
o
<<
"NORTH"
;
32
break
;
33
case
DOWN
:
34
o
<<
"DOWN"
;
35
break
;
36
case
DOWNSOUTH
:
37
o
<<
"DOWNSOUTH"
;
38
break
;
39
case
DOWNSOUTHEAST
:
40
o
<<
"DOWNSOUTHEAST"
;
41
break
;
42
case
DOWNSOUTHWEST
:
43
o
<<
"DOWNSOUTHWEST"
;
44
break
;
45
case
DOWNEAST
:
46
o
<<
"DOWNEAST"
;
47
break
;
48
case
DOWNWEST
:
49
o
<<
"DOWNWEST"
;
50
break
;
51
case
DOWNNORTHEAST
:
52
o
<<
"NORTHEAST"
;
53
break
;
54
case
DOWNNORTHWEST
:
55
o
<<
"NORTHWEST"
;
56
break
;
57
case
DOWNNORTH
:
58
o
<<
"DOWNNORTH"
;
59
break
;
60
case
UP
:
61
o
<<
"UP"
;
62
break
;
63
case
UPSOUTH
:
64
o
<<
"UPSOUTH"
;
65
break
;
66
case
UPSOUTHEAST
:
67
o
<<
"UPSOUTHEAST"
;
68
break
;
69
case
UPSOUTHWEST
:
70
o
<<
"UPSOUTHWEST"
;
71
break
;
72
case
UPEAST
:
73
o
<<
"UPEAST"
;
74
break
;
75
case
UPWEST
:
76
o
<<
"UPWEST"
;
77
break
;
78
case
UPNORTHEAST
:
79
o
<<
"NORTHEAST"
;
80
break
;
81
case
UPNORTHWEST
:
82
o
<<
"NORTHWEST"
;
83
break
;
84
case
UPNORTH
:
85
o
<<
"UPNORTH"
;
86
break
;
87
default
:
88
//o << static_cast<int>(d);
89
break
;
90
}
91
92
return
o
;
93
}
DOWNSOUTHEAST
Definition:
CaloDirection.h:21
UPNORTH
Definition:
CaloDirection.h:36
UPNORTHEAST
Definition:
CaloDirection.h:34
UPSOUTH
Definition:
CaloDirection.h:29
DOWNSOUTH
Definition:
CaloDirection.h:20
UPWEST
Definition:
CaloDirection.h:33
DOWNNORTHEAST
Definition:
CaloDirection.h:25
NORTHEAST
Definition:
CaloDirection.h:16
DOWN
Definition:
CaloDirection.h:19
SOUTHEAST
Definition:
CaloDirection.h:12
CaloDirection.h
EAST
Definition:
CaloDirection.h:14
SOUTHWEST
Definition:
CaloDirection.h:13
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
UP
Definition:
CaloDirection.h:28
WEST
Definition:
CaloDirection.h:15
ztail.d
d
Definition:
ztail.py:151
DOWNWEST
Definition:
CaloDirection.h:24
NORTH
Definition:
CaloDirection.h:18
UPSOUTHWEST
Definition:
CaloDirection.h:31
DOWNNORTH
Definition:
CaloDirection.h:27
UPNORTHWEST
Definition:
CaloDirection.h:35
DOWNEAST
Definition:
CaloDirection.h:23
DOWNNORTHWEST
Definition:
CaloDirection.h:26
operator<<
std::ostream & operator<<(std::ostream &o, const CaloDirection &d)
Definition:
CaloDirection.cc:4
UPEAST
Definition:
CaloDirection.h:32
SOUTH
Definition:
CaloDirection.h:11
UPSOUTHEAST
Definition:
CaloDirection.h:30
DOWNSOUTHWEST
Definition:
CaloDirection.h:22
CaloDirection
CaloDirection
Codes the local directions in the cell lattice.
Definition:
CaloDirection.h:9
NORTHWEST
Definition:
CaloDirection.h:17
NONE
Definition:
TkAlStyle.cc:47
Generated for CMSSW Reference Manual by
1.8.14