CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

The ostream operator.

Definition at line 93 of file RPCRecHit.cc.

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

93  {
94  os << "pos: " << hit.localPosition().x();
95  os << " +/- " << sqrt(hit.localPositionError().xx());
96  return os;
97 }
T sqrt(T t)
Definition: SSEVec.h:19