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

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

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

Definition at line 229 of file DTSegmentCand.cc.

References dbtoconf::out.

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