CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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 stefa.nosp@m.no.l.nosp@m.acapr.nosp@m.ara@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t
Riccardo Bellan - INFN TO ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.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().

76  {
77  os << "Pos " << seg.localPosition() <<
78  " Dir: " << seg.localDirection() <<
79  " chi2/ndof: " << seg.chi2() << "/" << seg.degreesOfFreedom() ;
80  return os;
81 }
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