CMS 3D CMS Logo

CSCRecHit2D.cc File Reference

#include <DataFormats/CSCRecHit/interface/CSCRecHit2D.h>
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CSCRecHit2D &rh)
 Output operator for CSCRecHit2D.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CSCRecHit2D rh 
)

Output operator for CSCRecHit2D.

Definition at line 40 of file CSCRecHit2D.cc.

References CSCRecHit2D::errorWithinStrip(), CSCRecHit2D::localPosition(), CSCRecHit2D::localPositionError(), CSCRecHit2D::positionWithinStrip(), CSCRecHit2D::quality(), funct::sqrt(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().

00040                                                               {
00041   os << "CSCRecHit2D: local x = " << rh.localPosition().x() << " +/- " << sqrt( rh.localPositionError().xx() ) <<
00042     " y = " << rh.localPosition().y() << " +/- " << sqrt( rh.localPositionError().yy() ) <<
00043     " in strip X = " << rh.positionWithinStrip() << " +/-  = " << rh.errorWithinStrip()<<" quality = "<<rh.quality();
00044   return os;
00045 }


Generated on Tue Jun 9 17:51:55 2009 for CMSSW by  doxygen 1.5.4