CMS 3D CMS Logo

Namespaces | Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/TopQuarkAnalysis/TopHitFit/src/matutil.cc File Reference

Define matrix types for the HitFit package, and supply a few additional operations. See the documentation for the header file matutil.h for details. More...

#include "TopQuarkAnalysis/TopHitFit/interface/matutil.h"
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  hitfit

Functions

void hitfit::clear (CLHEP::HepGenMatrix &m)
 Helper function: Reset all elements of a matrix to 0.
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$.

Detailed Description

Define matrix types for the HitFit package, and supply a few additional operations. See the documentation for the header file matutil.h for details.

Author:
Scott Stuart Snyder <snyder@bnl.gov>
Creation date:
July 2000.
Modification History:
Apr 2009: Haryo Sumowidagdo <Suharyo.Sumowidagdo@cern.ch>: Imported to CMSSW.
Nov 2009: Haryo Sumowidagdo <Suharyo.Sumowidagdo@cern.ch>: Added doxygen tags for automatic generation of documentation.
Terms of Usage:
With consent for the original author (Scott Snyder).

Definition in file matutil.cc.