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

Date:
2011/01/13 08:14:42
Revision:
1.17
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 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