CMS 3D CMS Logo

Functions
EcalSimParametersFromDD.cc File Reference
#include "CondFormats/GeometryObjects/interface/EcalSimulationParameters.h"
#include "DataFormats/Math/interface/GeantUnits.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 17 of file EcalSimParametersFromDD.cc.

17  {
18  edm::LogVerbatim("EcalGeom") << "EcalSimParametersFromDD: " << vec.size() << " entries for " << value << ":";
19  unsigned int i(0);
20  for (const auto& e : vec) {
21  edm::LogVerbatim("EcalGeom") << " (" << i << ") " << e;
22  ++i;
23  }
24 }

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

Referenced by EcalSimParametersFromDD::buildParameters().

mps_fire.i
i
Definition: mps_fire.py:428
value
Definition: value.py:1
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37