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

Date:
2006/06/29 17:18:27
Revision:
1.2
Author
G. Cerminara - INFN Torino

Definition in file DTEnums.cc.

Function Documentation

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

Definition at line 12 of file DTEnums.cc.

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

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