CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
CSCSegment.h File Reference
#include <DataFormats/TrackingRecHit/interface/RecSegment.h>
#include <DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h>
#include <iosfwd>

Go to the source code of this file.

Classes

class  GCC11_FINAL< T, TOPO >
 Unlimited (trivial) bounds. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const CSCSegment &seg)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CSCSegment seg 
)

Definition at line 190 of file CSCSegment.cc.

References mathSSE::sqrt().

190  {
191  os << "CSCSegment: local pos = " << seg.localPosition() <<
192  " posErr = (" << sqrt(seg.localPositionError().xx())<<","<<sqrt(seg.localPositionError().yy())<<
193  "0,)\n"<<
194  " dir = " << seg.localDirection() <<
195  " dirErr = (" << sqrt(seg.localDirectionError().xx())<<","<<sqrt(seg.localDirectionError().yy())<<
196  "0,)\n"<<
197  " chi2/ndf = " << seg.chi2()/double(seg.degreesOfFreedom()) <<
198  " #rechits = " << seg.specificRecHits().size()<<
199  " ME1/1a duplicates : "<<seg.duplicateSegments().size();
200  return os;
201 }
T sqrt(T t)
Definition: SSEVec.h:48