CMS 3D CMS Logo

Classes | Functions
GEMRecHit.h File Reference
#include "DataFormats/TrackingRecHit/interface/RecHit2DLocalPos.h"
#include "DataFormats/MuonDetId/interface/GEMDetId.h"

Go to the source code of this file.

Classes

class  GEMRecHit
 

Functions

std::ostream & operator<< (std::ostream &os, const GEMRecHit &hit)
 The ostream operator. More...
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const GEMRecHit hit 
)

The ostream operator.

Definition at line 78 of file GEMRecHit.cc.

References mathSSE::sqrt(), and hit::x.

78  {
79  os << "pos: " << hit.localPosition().x();
80  os << " +/- " << sqrt(hit.localPositionError().xx());
81  return os;
82 }
T sqrt(T t)
Definition: SSEVec.h:19