CMS 3D CMS Logo

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

◆ operator<<() [1/2]

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

Definition at line 201 of file DTSegmentCand.cc.

201  {
202  out << " pos: " << seg.position() << " dir: " << seg.direction() << " chi2/nHits: " << seg.chi2() << "/"
203  << seg.DTSegmentCand::nHits() << " t0: " << seg.t0();
204  return out;
205 }

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

◆ operator<<() [2/2]

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

Definition at line 207 of file DTSegmentCand.cc.

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

References MillePedeFileConverter_cfg::out.

DTSegmentCand::t0
virtual double t0() const
the t0 of the segment
Definition: DTSegmentCand.h:67
DTSegmentCand::direction
virtual LocalVector direction() const
Definition: DTSegmentCand.h:82
DTSegmentCand::position
virtual LocalPoint position() const
Definition: DTSegmentCand.h:79
DTSegmentCand::chi2
virtual double chi2() const
the chi2 (NOT chi2/NDOF) of the fit
Definition: DTSegmentCand.h:61
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31