test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
CTPPSDetId.h File Reference
#include "DataFormats/DetId/interface/DetId.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <iosfwd>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

class  CTPPSDetId
 Base class for CTPPS detector IDs. More...
 

Functions

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

Function Documentation

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

Definition at line 74 of file CTPPSDetId.cc.

75 {
76  os
77  << "subDet=" << id.subdetId()
78  << " arm=" << id.arm()
79  << " station=" << id.station()
80  << " rp=" << id.rp();
81 
82  return os;
83 }