CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
DTSLRecCluster.cc File Reference
#include "DataFormats/DTRecHit/interface/DTSLRecCluster.h"
#include <iostream>

Go to the source code of this file.

Functions

static AlgebraicMatrix initMatrix ()
 
ostream & operator<< (ostream &os, const DTSLRecCluster &clus)
 

Function Documentation

static AlgebraicMatrix initMatrix ( )
static

Definition at line 26 of file DTSLRecCluster.cc.

References m.

26  {
27  AlgebraicMatrix m( 2, 5, 0);
28  m[0][1]=1;
29  return m;
30 }
CLHEP::HepMatrix AlgebraicMatrix
ostream& operator<< ( ostream &  os,
const DTSLRecCluster clus 
)

Definition at line 69 of file DTSLRecCluster.cc.

References DTSLRecCluster::localPosition(), DTSLRecCluster::localPositionError(), and DTSLRecCluster::nHits().

69  {
70  os << "Pos " << clus.localPosition()
71  << " err " << clus.localPositionError()
72  << " nHits: " << clus.nHits() ;
73  return os;
74 }
virtual LocalPoint localPosition() const
Local position.
int nHits() const
virtual LocalError localPositionError() const
Error on the local position.