9 #include "CLHEP/Units/GlobalSystemOfUnits.h" 21 std::cout <<
"FastTimeParametersFromDD::build called with names " << name
22 <<
" and type " << type << std::endl;
35 std::vector<double>
temp;
47 }
else if (type == 2) {
61 <<
" for FastTiming " <<
name;
65 <<
" not found but needed.";
67 <<
" not found but needed.";
70 std::cout <<
"FastTimeParametersFromDD::Returns with flag " << ok
71 <<
" for " << name <<
" and type " << type << std::endl;
81 const std::vector<double> & fvec = value.
doubles();
82 int nval = fvec.size();
84 edm::LogError(
"HGCalGeom") <<
"HGCalGeomParameters : # of " << str
85 <<
" bins " << nval <<
" < 1 ==> illegal";
86 throw cms::Exception(
"DDException") <<
"HGCalGeomParameters: cannot get array " <<
str;
90 edm::LogError(
"HGCalGeom") <<
"HGCalGeomParameters: cannot get array " 92 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::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
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 ...