CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DataFormats/DTRecHit/src/DTRecSegment2D.cc File Reference

#include "DataFormats/DTRecHit/interface/DTRecSegment2D.h"
#include <iostream>

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const DTRecSegment2D &seg)

Detailed Description

Date:
2009/09/21 10:13:37
Revision:
1.11
Author:
Stefano Lacaprara - INFN Legnaro <stefano.lacaprara@pd.infn.it>
Riccardo Bellan - INFN TO <riccardo.bellan@cern.ch>

Definition in file DTRecSegment2D.cc.


Function Documentation

ostream& operator<< ( ostream &  os,
const DTRecSegment2D seg 
)

Definition at line 76 of file DTRecSegment2D.cc.

References DTRecSegment2D::chi2(), DTRecSegment2D::degreesOfFreedom(), DTRecSegment2D::localDirection(), and DTRecSegment2D::localPosition().

                                                            {
  os << "Pos " << seg.localPosition() << 
    " Dir: " << seg.localDirection() <<
    " chi2/ndof: " << seg.chi2() << "/" << seg.degreesOfFreedom() ;
  return os;
}