CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/DataFormats/DTRecHit/src/DTRecHit1D.cc File Reference

#include "DataFormats/DTRecHit/interface/DTRecHit1D.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const DTRecHit1D &hit)

Detailed Description

Date:
2007/08/02 05:58:16
Revision:
1.6
Author:
G. Cerminara - INFN Torino

Definition in file DTRecHit1D.cc.


Function Documentation

ostream& operator<< ( ostream &  os,
const DTRecHit1D hit 
)

Definition at line 105 of file DTRecHit1D.cc.

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

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