#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) |
Definition in file CSCSegment.cc.
std::ostream& operator<< | ( | std::ostream & | os, |
const CSCSegment & | seg | ||
) |
Definition at line 189 of file CSCSegment.cc.
References CSCSegment::chi2(), CSCSegment::degreesOfFreedom(), CSCSegment::duplicateSegments(), CSCSegment::localDirection(), CSCSegment::localDirectionError(), CSCSegment::localPosition(), CSCSegment::localPositionError(), CSCSegment::specificRecHits(), mathSSE::sqrt(), LocalError::xx(), and LocalError::yy().
{ 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; }