CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
DTSegmentCand.cc File Reference
#include "RecoLocalMuon/DTSegment/src/DTSegmentCand.h"
#include "Geometry/DTGeometry/interface/DTSuperLayer.h"
#include "DataFormats/DTRecHit/interface/DTSLRecSegment2D.h"
#include "DataFormats/DTRecHit/interface/DTChamberRecSegment2D.h"

Go to the source code of this file.

Functions

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

Detailed Description

Author
Stefano Lacaprara - INFN Legnaro stefa.nosp@m.no.l.nosp@m.acapr.nosp@m.ara@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t
Riccardo Bellan - INFN TO ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch

Definition in file DTSegmentCand.cc.

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