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 221 of file DTSegmentCand.cc.

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

221  {
222  out << " pos: " << seg.position() << " dir: " << seg.direction()
223  << " chi2/nHits: " << seg.chi2() << "/" << seg.DTSegmentCand::nHits() << "/" << seg.nHits();
224  return out;
225 }
virtual double chi2() const
the chi2 (NOT chi2/NDOF) of the fit
Definition: DTSegmentCand.h:63
tuple out
Definition: dbtoconf.py:99
virtual unsigned int nHits() const
Definition: DTSegmentCand.h:60
virtual LocalPoint position() const
Definition: DTSegmentCand.h:78
virtual LocalVector direction() const
Definition: DTSegmentCand.h:81
std::ostream& operator<< ( std::ostream &  out,
const DTSegmentCand::AssPoint hit 
)

Definition at line 227 of file DTSegmentCand.cc.

References dbtoconf::out.

227  {
228  // out << "Hits " << (hit.first)->localPosition(DTEnums::Left) <<
229  // " " << hit.second << " Lay " << (hit.first)->layerNumber() << endl;
230  return out;
231 }
tuple out
Definition: dbtoconf.py:99