CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 i.

Referenced by CosmicHitPairGenerator::CosmicHitPairGenerator(), CosmicHitTripletGenerator::CosmicHitTripletGenerator(), symbols::get_libraries(), symbols::get_symbols(), L1GctHfBitCountsLut::getThresholdsGct(), MillePedeVariables::increaseHitsX(), MillePedeVariables::increaseHitsY(), MtvClusterizer1D< T >::operator()(), and L1GctLut< NAddressBits, NDataBits >::printLine().

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 }
int i
Definition: DBlmapReader.cc:9
static std::string const source
Definition: EdmProvDump.cc:43
double Clusterizer1DCommons::square ( const double  a)
inline

Definition at line 9 of file Clusterizer1DCommons.h.

References a.

Referenced by MtvClusterizer1D< T >::operator()(), and ZmumuEvtSelEffCorrWeightProducer::produce().

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