CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
DTSegmentCand.h File Reference
#include "RecoLocalMuon/DTSegment/src/DTHitPairForFit.h"
#include <vector>
#include <set>
#include <iostream>

Go to the source code of this file.

Classes

struct  DTSegmentCand::AssPointLessZ
 
class  DTSegmentCand
 

Functions

std::ostream & operator<< (std::ostream &out, const DTSegmentCand &seg)
 
std::ostream & operator<< (std::ostream &out, const DTSegmentCand::AssPoint &hit)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const DTSegmentCand seg 
)

Definition at line 229 of file DTSegmentCand.cc.

References DTSegmentCand::chi2(), DTSegmentCand::direction(), dbtoconf::out, DTSegmentCand::position(), and DTSegmentCand::t0().

229  {
230  out << " pos: " << seg.position() << " dir: " << seg.direction()
231  << " chi2/nHits: " << seg.chi2() << "/" << seg.DTSegmentCand::nHits()
232  << " t0: " << seg.t0();
233  return out;
234 }
virtual double chi2() const
the chi2 (NOT chi2/NDOF) of the fit
Definition: DTSegmentCand.h:64
tuple out
Definition: dbtoconf.py:99
virtual double t0() const
the t0 of the segment
Definition: DTSegmentCand.h:70
virtual LocalPoint position() const
Definition: DTSegmentCand.h:82
virtual LocalVector direction() const
Definition: DTSegmentCand.h:85
std::ostream& operator<< ( std::ostream &  out,
const DTSegmentCand::AssPoint hit 
)

Definition at line 236 of file DTSegmentCand.cc.

References dbtoconf::out.

236  {
237  // out << "Hits " << (hit.first)->localPosition(DTEnums::Left) <<
238  // " " << hit.second << " Lay " << (hit.first)->layerNumber() << endl;
239  return out;
240 }
tuple out
Definition: dbtoconf.py:99