CMS 3D CMS Logo

Clusterizer1DCommons Namespace Reference


Classes

struct  ComparePairs

Functions

template<class T>
void add (const std::vector< const T * > &source, std::vector< const T * > &dest)
double square (const double a)


Function Documentation

template<class T>
void Clusterizer1DCommons::add ( const std::vector< const T * > &  source,
std::vector< const T * > &  dest 
) [inline]

Definition at line 26 of file Clusterizer1DCommons.h.

References cmsTiming_parser::dest, i, and source.

00028 {
00029     for ( typename std::vector< const T * >::const_iterator i=source.begin();
00030             i!=source.end() ; ++i )
00031     {
00032         dest.push_back ( *i );
00033     };
00034 }

double Clusterizer1DCommons::square ( const double  a  )  [inline]

Definition at line 9 of file Clusterizer1DCommons.h.

00010 {
00011     return a*a;
00012 }


Generated on Tue Jun 9 18:36:22 2009 for CMSSW by  doxygen 1.5.4