16 edm::LogVerbatim(
"HGCalGeom") <<
"FastTimeParametersFromDD::build called with names " << name <<
" and type " <<
type;
29 std::vector<double>
temp;
40 }
else if (type == 2) {
52 edm::LogWarning(
"HGCalGeom") <<
"Unknown Geometry type " << type <<
" for FastTiming " <<
name;
55 edm::LogError(
"HGCalGeom") <<
" Attribute " << val <<
" not found but needed.";
56 throw cms::Exception(
"DDException") <<
"Attribute " << val <<
" not found but needed.";
59 edm::LogVerbatim(
"HGCalGeom") <<
"FastTimeParametersFromDD::Returns with flag " << ok <<
" for " << name
60 <<
" and type " <<
type;
68 const std::vector<double>& fvec = value.
doubles();
69 int nval = fvec.size();
71 edm::LogError(
"HGCalGeom") <<
"HGCalGeomParameters : # of " << str <<
" bins " << nval <<
" < 1 ==> illegal";
72 throw cms::Exception(
"DDException") <<
"HGCalGeomParameters: cannot get array " <<
str;
76 edm::LogError(
"HGCalGeom") <<
"HGCalGeomParameters: cannot get array " <<
str;
77 throw cms::Exception(
"DDException") <<
"HGCalGeomParameters: cannot get array " <<
str;
const std::vector< double > & doubles() const
a reference to the double-valued values stored in the given instance of DDValue
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Compact representation of the geometrical detector hierarchy.
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
std::vector< double > geomParEndcap_
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::vector< double > geomParBarrel_
bool build(const DDCompactView *, FastTimeParameters &, const std::string &, const int)
DDsvalues_type mergedSpecifics() const
bool firstChild()
set the current node to the first child ...