CMS 3D CMS Logo

Functions
EcalSamplesCorrelation.cc File Reference
#include "CondFormats/EcalObjects/interface/EcalSamplesCorrelation.h"

Go to the source code of this file.

Functions

template<typename T >
static void print_vector (std::ostream &o, const std::vector< T > &vect)
 

Function Documentation

template<typename T >
static void print_vector ( std::ostream &  o,
const std::vector< T > &  vect 
)
inlinestatic

Definition at line 10 of file EcalSamplesCorrelation.cc.

References gather_cfg::cout, and mps_fire::i.

10  {
11  o << "[";
12  for (std::vector<double>::const_iterator i = vect.begin(); i != vect.end();
13  ++i) {
14 
15  std::cout << *i << ", ";
16  }
17  o << "]";
18 }