CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Typedefs | Functions
matutil.h File Reference

Define matrix types for the HitFit package, and supply a few additional operations. More...

#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Matrix/DiagMatrix.h"

Go to the source code of this file.

Classes

class  hitfit::Row_Vector
 Row-vector class. CLHEP doesn't have a row-vector class, so HitFit uses its own. This is only a simple wrapper around Matrix that tries to constrain the shape to a row vector. It will raise an assertion if you try to assign to it something that isn't a row vector. More...
 

Namespaces

 hitfit
 

Macros

#define MATRIX_BOUND_CHECK
 

Typedefs

typedef CLHEP::HepVector hitfit::Column_Vector
 
typedef CLHEP::HepDiagMatrix hitfit::Diagonal_Matrix
 
typedef CLHEP::HepMatrix hitfit::Matrix
 

Functions

void hitfit::clear (CLHEP::HepGenMatrix &m)
 Helper function: Reset all elements of a matrix to 0. More...
 
double hitfit::scalar (const CLHEP::HepGenMatrix &m)
 Return the $1 \times 1$ matrix as a scalar. Raise an assertion if the matris is not $1 \times 1$. More...
 

Detailed Description

Define matrix types for the HitFit package, and supply a few additional operations.

This file defines the type Matrix, Column_Vector, Row_Vector, and Diagonal_Matrix, to be used in HitFit code. These are based on the corresponding CLHEP matrix classes (except that HitFit uses its own row vector class, since CLHEP doesn't have that concept). Also provided are a handful of operations that are missing in CLHEP.

Author
Scott Stuart Snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Creation date:
July 2000.
Modification History:
Apr 2009: Haryo Sumowidagdo Suhar.nosp@m.yo.S.nosp@m.umowi.nosp@m.dagd.nosp@m.o@cer.nosp@m.n.ch: Imported to CMSSW.
Nov 2009: Haryo Sumowidagdo Suhar.nosp@m.yo.S.nosp@m.umowi.nosp@m.dagd.nosp@m.o@cer.nosp@m.n.ch: Added doxygen tags for automatic generation of documentation.
Terms of Usage:
With consent for the original author (Scott Snyder).

Definition in file matutil.h.

Macro Definition Documentation

#define MATRIX_BOUND_CHECK

Definition at line 53 of file matutil.h.