CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 201 of file DTSegmentCand.cc.

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

201  {
202  out << " pos: " << seg.position() << " dir: " << seg.direction() << " chi2/nHits: " << seg.chi2() << "/"
203  << seg.DTSegmentCand::nHits() << " t0: " << seg.t0();
204  return out;
205 }
virtual double chi2() const
the chi2 (NOT chi2/NDOF) of the fit
Definition: DTSegmentCand.h:61
virtual double t0() const
the t0 of the segment
Definition: DTSegmentCand.h:67
virtual LocalPoint position() const
Definition: DTSegmentCand.h:79
virtual LocalVector direction() const
Definition: DTSegmentCand.h:82
std::ostream& operator<< ( std::ostream &  out,
const DTSegmentCand::AssPoint hit 
)

Definition at line 207 of file DTSegmentCand.cc.

References submitPVResolutionJobs::out.

207  {
208  // out << "Hits " << (hit.first)->localPosition(DTEnums::Left) <<
209  // " " << hit.second << " Lay " << (hit.first)->layerNumber() << endl;
210  return out;
211 }