CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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 }
int i
Definition: DBlmapReader.cc:9
tuple cout
Definition: gather_cfg.py:121