CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Hit.cc
Go to the documentation of this file.
2 #include "Matrix.h"
3 
4 namespace mkfit {
5 
6  void MCHitInfo::reset() {}
7 
8  void print(std::string_view label, const MeasurementState& s) {
9  std::cout << label << std::endl;
10  std::cout << "x: " << s.parameters()[0] << " y: " << s.parameters()[1] << " z: " << s.parameters()[2] << std::endl
11  << "errors: " << std::endl;
12  dumpMatrix(s.errors());
13  std::cout << std::endl;
14  }
15 
16 } // end namespace mkfit
char const * label
static void reset()
Definition: Hit.cc:6
void dumpMatrix(Matrix m)
Definition: MatrixSTypes.h:37
SMatrixSym33 errors() const
Definition: Hit.h:129
void print(std::string_view label, const MeasurementState &s)
Definition: Hit.cc:8
const SVector3 & parameters() const
Definition: Hit.h:128
tuple cout
Definition: gather_cfg.py:144