CMS 3D CMS Logo

Functions
CaloDirection.cc File Reference
#include "Geometry/CaloTopology/interface/CaloDirection.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const CaloDirection &d)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
const CaloDirection d 
)

Definition at line 4 of file CaloDirection.cc.

4  {
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 }

References ztail::d, DOWN, DOWNEAST, DOWNNORTH, DOWNNORTHEAST, DOWNNORTHWEST, DOWNSOUTH, DOWNSOUTHEAST, DOWNSOUTHWEST, DOWNWEST, EAST, NONE, NORTH, NORTHEAST, NORTHWEST, EcalTangentSkim_cfg::o, SOUTH, SOUTHEAST, SOUTHWEST, UP, UPEAST, UPNORTH, UPNORTHEAST, UPNORTHWEST, UPSOUTH, UPSOUTHEAST, UPSOUTHWEST, UPWEST, and WEST.

UPSOUTH
Definition: CaloDirection.h:29
UPSOUTHEAST
Definition: CaloDirection.h:30
UPNORTH
Definition: CaloDirection.h:36
UPWEST
Definition: CaloDirection.h:33
UPNORTHEAST
Definition: CaloDirection.h:34
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
DOWN
Definition: CaloDirection.h:19
DOWNWEST
Definition: CaloDirection.h:24
EAST
Definition: CaloDirection.h:14
NORTH
Definition: CaloDirection.h:18
SOUTHEAST
Definition: CaloDirection.h:12
UPNORTHWEST
Definition: CaloDirection.h:35
DOWNNORTHEAST
Definition: CaloDirection.h:25
UPSOUTHWEST
Definition: CaloDirection.h:31
DOWNNORTH
Definition: CaloDirection.h:27
SOUTHWEST
Definition: CaloDirection.h:13
DOWNSOUTHWEST
Definition: CaloDirection.h:22
UPEAST
Definition: CaloDirection.h:32
WEST
Definition: CaloDirection.h:15
DOWNSOUTH
Definition: CaloDirection.h:20
UP
Definition: CaloDirection.h:28
NORTHWEST
Definition: CaloDirection.h:17
NONE
Definition: TkAlStyle.cc:47
DOWNSOUTHEAST
Definition: CaloDirection.h:21
ztail.d
d
Definition: ztail.py:151
SOUTH
Definition: CaloDirection.h:11
NORTHEAST
Definition: CaloDirection.h:16
DOWNEAST
Definition: CaloDirection.h:23
DOWNNORTHWEST
Definition: CaloDirection.h:26