CMS 3D CMS Logo

Functions
EcalTimeBiasCorrections.cc File Reference
#include "CondFormats/EcalObjects/interface/EcalTimeBiasCorrections.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

◆ print_vector()

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

Definition at line 9 of file EcalTimeBiasCorrections.cc.

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

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