CMS 3D CMS Logo

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
 RecHit for RPC. More...

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(), funct::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and LocalError::xx().

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


Generated on Tue Jun 9 17:52:16 2009 for CMSSW by  doxygen 1.5.4