CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
DTEnums.cc File Reference
#include "DataFormats/DTRecHit/interface/DTEnums.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, DTEnums::DTCellSide p)
 

Detailed Description

Author
G. Cerminara - INFN Torino

Definition in file DTEnums.cc.

Function Documentation

ostream& operator<< ( ostream &  s,
DTEnums::DTCellSide  p 
)

Definition at line 10 of file DTEnums.cc.

References DTEnums::Left, DTEnums::Right, alignCSCRings::s, and DTEnums::undefLR.

10  {
11  switch(p) {
12  case DTEnums::undefLR:
13  return s << "undefined";
14  case DTEnums::Right:
15  return s << "Right";
16  case DTEnums::Left:
17  return s << "Left";
18  }
19  return s;
20 }