CMS 3D CMS Logo

Functions
ME0RecHit.cc File Reference
#include "DataFormats/GEMRecHit/interface/ME0RecHit.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

The ostream operator.

Definition at line 45 of file ME0RecHit.cc.

References l1tGTMenu_BTagSeeds_cff::os, mathSSE::sqrt(), hit::x, and hit::y.

45  {
46  os << "pos: x = " << hit.localPosition().x();
47  os << " +/- " << sqrt(hit.localPositionError().xx()) << " cm";
48  os << " y = " << hit.localPosition().y();
49  os << " +/- " << sqrt(hit.localPositionError().yy()) << " cm";
50  return os;
51 }
T sqrt(T t)
Definition: SSEVec.h:23