CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/DataFormats/CSCRecHit/interface/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 >
 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 189 of file CSCSegment.cc.

References mathSSE::sqrt().

                                                              {
  os << "CSCSegment: local pos = " << seg.localPosition() << 
    " posErr = (" << sqrt(seg.localPositionError().xx())<<","<<sqrt(seg.localPositionError().yy())<<
    "0,)\n"<<
    "            dir = " << seg.localDirection() <<
    " dirErr = (" << sqrt(seg.localDirectionError().xx())<<","<<sqrt(seg.localDirectionError().yy())<<
    "0,)\n"<<
    "            chi2/ndf = " << seg.chi2()/double(seg.degreesOfFreedom()) << 
    " #rechits = " << seg.specificRecHits().size()<<
    " ME1/1a duplicates : "<<seg.duplicateSegments().size();
  return os;  
}