CMS 3D CMS Logo

Classes | Functions
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 
)

Definition at line 26 of file Clusterizer1DCommons.h.

References mps_fire::i.

Referenced by Clusterizer1DCommons::ComparePairs< T >::operator()().

28 {
29  for ( typename std::vector< const T * >::const_iterator i=source.begin();
30  i!=source.end() ; ++i )
31  {
32  dest.push_back ( *i );
33  };
34 }
static std::string const source
Definition: EdmProvDump.cc:44
double Clusterizer1DCommons::square ( const double  a)
inline

Definition at line 9 of file Clusterizer1DCommons.h.

References a.

10 {
11  return a*a;
12 }
double a
Definition: hdecay.h:121