CMS 3D CMS Logo

Classes | Functions
TotemTimingDetId.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  TotemTimingDetId
 Detector ID class for CTPPS Totem Timing detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bits [17:18] : 2 bits for UFSD plane 0,1,2,3 Bits [12:16] : 5 bits for UFSD channel numbers 1,2,3,..16 Bits [0:11] : unspecified yet. More...
 

Functions

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

Function Documentation

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

Definition at line 52 of file TotemTimingDetId.cc.

Referenced by TotemTimingDetId::channelName().

53 {
54  return os
55  << "arm=" << id.arm()
56  << " station=" << id.station()
57  << " rp=" << id.rp()
58  << " plane=" << id.plane()
59  << " Detector=" << id.channel();
60 }