CMS 3D CMS Logo

Classes | Functions
FTLRecHit.h File Reference
#include "DataFormats/ForwardDetId/interface/MTDDetId.h"
#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
#include <vector>

Go to the source code of this file.

Classes

class  FTLRecHit
 

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 63 of file FTLRecHit.cc.

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

63  {
64  if (hit.detid().det() == DetId::Forward && hit.detid().subdetId() == FastTime)
65  return s << FastTimeDetId(hit.detid()) << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
66  else
67  return s << "FTLRecHit undefined subdetector";
68 }