CMS 3D CMS Logo

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 25 of file DTSLRecCluster.cc.

References funct::m, and DTSLRecCluster::theProjectionMatrix.

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

Definition at line 68 of file DTSLRecCluster.cc.

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

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