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.

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.

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 }
d
Definition: ztail.py:151
Definition: TkAlStyle.h:43