CMS 3D CMS Logo

Functions
FTLRecHit.cc File Reference
#include "DataFormats/FTLRecHit/interface/FTLRecHit.h"
#include <cassert>
#include <cmath>
#include <limits>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const FTLRecHit &hit)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const FTLRecHit hit 
)

Definition at line 62 of file FTLRecHit.cc.

References FastTime, DetId::Forward, and alignCSCRings::s.

62  {
63  if (hit.detid().det() == DetId::Forward && hit.detid().subdetId() == FastTime)
64  return s << MTDDetId(hit.detid()) << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
65  else
66  return s << "FTLRecHit undefined subdetector";
67 }
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21