CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  RPCRecHit
 

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.

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

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

hit::x
double x
Definition: SiStripHitEffFromCalibTree.cc:89
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
hit
Definition: SiStripHitEffFromCalibTree.cc:88