CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CSCDetId.cc File Reference
#include <DataFormats/MuonDetId/interface/CSCDetId.h>
#include <FWCore/Utilities/interface/Exception.h>
#include <iostream>

Go to the source code of this file.

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 }