16 edm::LogVerbatim(
"HGCalGeom") <<
"FastTimeParametersFromDD::build called with names " <<
name <<
" and type " <<
type;
29 std::vector<double>
temp;
40 }
else if (
type == 2) {
55 edm::LogError(
"HGCalGeom") <<
" Attribute " <<
val <<
" not found but needed.";
56 throw cms::Exception(
"DDException") <<
"Attribute " <<
val <<
" not found but needed.";
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;
Log< level::Info, true > LogVerbatim
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Log< level::Error, false > LogError
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
DDsvalues_type mergedSpecifics() const
std::vector< double > geomParBarrel_
bool build(const DDCompactView *, FastTimeParameters &, const std::string &, const int)
bool firstChild()
set the current node to the first child ...
Log< level::Warning, false > LogWarning