8 #include "CLHEP/Units/GlobalSystemOfUnits.h" 20 std::cout <<
"FastTimeParametersFromDD::build called with names " << name
21 <<
" and type " << type << std::endl;
34 std::vector<double>
temp;
46 }
else if (type == 2) {
60 <<
" for FastTiming " <<
name;
64 <<
" not found but needed.";
66 <<
" not found but needed.";
69 std::cout <<
"FastTimeParametersFromDD::Returns with flag " << ok
70 <<
" for " << name <<
" and type " << type << std::endl;
80 const std::vector<double> & fvec = value.
doubles();
81 int nval = fvec.size();
83 edm::LogError(
"HGCalGeom") <<
"HGCalGeomParameters : # of " << str
84 <<
" bins " << nval <<
" < 1 ==> illegal";
85 throw cms::Exception(
"DDException") <<
"HGCalGeomParameters: cannot get array " <<
str;
89 edm::LogError(
"HGCalGeom") <<
"HGCalGeomParameters: cannot get array " 91 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< double > geomParBarrel_
bool build(const DDCompactView *, FastTimeParameters &, const std::string &, const int)
DDsvalues_type mergedSpecifics() const
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
bool firstChild()
set the current node to the first child ...