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

◆ operator<<()

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

Definition at line 51 of file CTPPSDiamondDetId.cc.

52  {
53  os << "arm=" << id.arm() << " station=" << id.station() << " rp=" << id.rp() << " plane=" << id.plane()
54  << " Detector=" << id.channel();
55 
56  return os;