CMS 3D CMS Logo

Classes | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DataFormats/RPCRecHit/interface/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.

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;
}