test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
CSCDetId.h File Reference
#include <iosfwd>
#include <DataFormats/DetId/interface/DetId.h>
#include <DataFormats/MuonDetId/interface/MuonSubdetId.h>

Go to the source code of this file.

Classes

class  CSCDetId
 

Functions

std::ostream & operator<< (std::ostream &os, const CSCDetId &id)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CSCDetId id 
)

Definition at line 110 of file CSCDetId.cc.

111 {
112  // Note that there is no endl to end the output
113 
114  os << " E:" << id.endcap()
115  << " S:" << id.station()
116  << " R:" << id.ring()
117  << " C:" << id.chamber()
118  << " L:" << id.layer();
119  return os;
120 }