CMS 3D CMS Logo

Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/DataFormats/DTRecHit/src/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.

                                     {
  AlgebraicMatrix m( 2, 5, 0);
  m[0][1]=1; 
  return m;
}
ostream& operator<< ( ostream &  os,
const DTSLRecCluster clus 
)

Definition at line 69 of file DTSLRecCluster.cc.

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

                                                             {
  os << "Pos " << clus.localPosition()
    << " err " << clus.localPositionError()
    << " nHits: " << clus.nHits() ;
  return os;
}