CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/DataFormats/RPCRecHit/src/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.

Function Documentation

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

The ostream operator.

Definition at line 95 of file RPCRecHit.cc.

References RPCRecHit::localPosition(), RPCRecHit::localPositionError(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and LocalError::xx().

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