CMS 3D CMS Logo

Functions
EcalSimParametersFromDD.cc File Reference
#include "CondFormats/GeometryObjects/interface/EcalSimulationParameters.h"
#include "DetectorDescription/Core/interface/DDFilteredView.h"
#include "DetectorDescription/Core/interface/DDFilter.h"
#include "DetectorDescription/Core/interface/DDValue.h"
#include "DetectorDescription/Core/interface/DDutils.h"
#include "DetectorDescription/DDCMS/interface/DDFilteredView.h"
#include "Geometry/EcalCommonData/interface/EcalSimParametersFromDD.h"
#include <iostream>
#include <iomanip>

Go to the source code of this file.

Functions

template<typename T >
void myPrint (std::string value, const std::vector< T > &vec)
 

Function Documentation

◆ myPrint()

template<typename T >
void myPrint ( std::string  value,
const std::vector< T > &  vec 
)

Definition at line 14 of file EcalSimParametersFromDD.cc.

References MillePedeFileConverter_cfg::e, and mps_fire::i.

Referenced by EcalSimParametersFromDD::buildParameters().

14  {
15  edm::LogVerbatim("EcalGeom") << "EcalSimParametersFromDD: " << vec.size() << " entries for " << value << ":";
16  unsigned int i(0);
17  for (const auto& e : vec) {
18  edm::LogVerbatim("EcalGeom") << " (" << i << ") " << e;
19  ++i;
20  }
21 }
Log< level::Info, true > LogVerbatim
Definition: value.py:1