Go to the documentation of this file.
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;
std::vector< double > geomParBarrel_
DDsvalues_type mergedSpecifics() const
bool build(const DDCompactView *, FastTimeParameters &, const std::string &, const int)
Log< level::Warning, false > LogWarning
bool firstChild()
set the current node to the first child ...
Compact representation of the geometrical detector hierarchy.
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
Log< level::Error, false > LogError
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
Log< level::Info, true > LogVerbatim
std::vector< double > geomParEndcap_
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type