CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 10 of file DTEnums.cc.

References DTEnums::Left, AlCaHLTBitMon_ParallelJobs::p, 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 }