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;
60 php.
mode_ = getGeometryMode(
"GeometryMode", sv);
85 <<
" for HGCal " << name <<
":" << namew
88 <<
"Unknown Geometry type " << php.
mode_ <<
" for HGCal " << name
89 <<
":" << namew <<
":" << namec;
93 <<
" not found but needed.";
95 <<
" not found but needed.";
98 edm::LogInfo(
"HGCalGeom") <<
"Return from HGCalParametersFromDD::build with "
T parseString(const std::string &value)
void addFilter(const DDFilter &, DDLogOp op=DDLogOp::AND)
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 &)
void setCriteria(const DDValue &nameVal, DDCompOp, DDLogOp l=DDLogOp::AND, bool asString=true, bool merged=true)
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.