11 #include "CLHEP/Units/GlobalSystemOfUnits.h" 21 const std::vector<std::string> & fvec =
val.strings();
22 if (fvec.size() == 0) {
23 throw cms::Exception(
"HGCalGeom") <<
"Failed to get " << s <<
" tag.";
32 throw cms::Exception(
"HGCalGeom") <<
"Failed to get "<< s <<
" tag.";
44 std::cout <<
"HGCalParametersFromDD::build called with names " << name <<
":" 45 << namew <<
":" << namec << std::endl;
58 php.
mode_ = getGeometryMode(
"GeometryMode", sv);
83 <<
" for HGCal " << name <<
":" << namew
86 <<
"Unknown Geometry type " << php.
mode_ <<
" for HGCal " << name
87 <<
":" << namew <<
":" << namec;
91 <<
" not found but needed.";
93 <<
" not found but needed.";
96 edm::LogInfo(
"HGCalGeom") <<
"Return from HGCalParametersFromDD::build with "
T parseString(const std::string &value)
void loadSpecParsHexagon(const DDFilteredView &, HGCalParameters &, const DDCompactView *, const std::string &, const std::string &)
bool build(const DDCompactView *, HGCalParameters &, const std::string &, const std::string &, const std::string &)
type of data representation of DDCompactView
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
void loadCellParsHexagon(const DDCompactView *cpv, HGCalParameters &php)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
void loadWaferHexagon(HGCalParameters &php)
void loadSpecParsSquare(const DDFilteredView &, HGCalParameters &)
DDsvalues_type mergedSpecifics() const
bool firstChild()
set the current node to the first child ...
void loadGeometryHexagon(const DDFilteredView &, HGCalParameters &, const std::string &, const DDCompactView *, const std::string &, const std::string &)
void loadGeometrySquare(const DDFilteredView &, HGCalParameters &, const std::string &)