CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
DTRecSegment2D.h File Reference
#include "DataFormats/TrackingRecHit/interface/RecSegment.h"
#include "DataFormats/GeometrySurface/interface/LocalError.h"
#include "DataFormats/GeometryVector/interface/LocalVector.h"
#include "DataFormats/GeometryVector/interface/LocalPoint.h"
#include "DataFormats/DTRecHit/interface/DTRecHit1D.h"
#include <iosfwd>

Go to the source code of this file.

Classes

class  DTRecSegment2D
 

Functions

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

Function Documentation

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

Definition at line 81 of file DTRecSegment2D.cc.

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

81  {
82  os << "Pos " << seg.localPosition() <<
83  " Dir: " << seg.localDirection() <<
84  " chi2/ndof: " << seg.chi2() << "/" << seg.degreesOfFreedom() ;
85  return os;
86 }
virtual int degreesOfFreedom() const
return the DOF of the segment
virtual double chi2() const
the chi2 of the fit
virtual LocalPoint localPosition() const
local position in SL frame
virtual LocalVector localDirection() const
the local direction in SL frame