CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CSCSegment.cc File Reference
#include <DataFormats/CSCRecHit/interface/CSCSegment.h>
#include <iostream>

Go to the source code of this file.

Functions

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

Detailed Description

Date:
2013/04/22 22:41:33
Author
Matteo Sani

Definition in file CSCSegment.cc.

Function Documentation

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

Definition at line 189 of file CSCSegment.cc.

References mathSSE::sqrt().

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