#include "DataFormats/DTRecHit/interface/DTRecSegment4D.h"
#include "DataFormats/MuonDetId/interface/DTChamberId.h"
#include "FWCore/Utilities/interface/Exception.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const DTRecSegment4D &seg) |
std::ostream& operator<< | ( | std::ostream & | os, |
const DTRecSegment4D & | seg | ||
) |
Definition at line 239 of file DTRecSegment4D.cc.
References DTRecSegment4D::chi2(), DTRecSegment4D::degreesOfFreedom(), DTRecSegment4D::dimension(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::localDirection(), DTRecSegment4D::localPosition(), DTRecSegment4D::phiSegment(), DTRecSegment2D::recHits(), and DTRecSegment4D::zSegment().
{ os << "Pos " << seg.localPosition() << " Dir: " << seg.localDirection() << " dim: " << seg.dimension() << " chi2/ndof: " << seg.chi2() << "/" << seg.degreesOfFreedom() << " :"; if (seg.hasPhi()) os << seg.phiSegment()->recHits().size(); else os << 0; os << ":"; if (seg.hasZed()) os << seg.zSegment()->recHits().size(); else os << 0; return os; }