CMS 3D CMS Logo

Classes | Functions
CTPPSDiamondDetId.h File Reference
#include "DataFormats/CTPPSDetId/interface/CTPPSDetId.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <iosfwd>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

class  CTPPSDiamondDetId
 Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bits [17:18] : 2 bits for diamond plane 0,1,2,3 Bits [12:16] : 5 bits for Diamond channel numbers 1,2,3,..16 Bits [0:11] : unspecified yet. More...
 

Functions

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

Function Documentation

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

Definition at line 60 of file CTPPSDiamondDetId.cc.

Referenced by CTPPSDiamondDetId::channelName().

61 {
62  os << "arm=" << id.arm()
63  << " station=" << id.station()
64  << " rp=" << id.rp()
65  << " plane=" << id.plane()
66  << " Detector=" << id.channel();
67 
68  return os;
69 }