9 #include "CLHEP/Units/GlobalSystemOfUnits.h"
21 std::cout <<
"FastTimeParametersFromDD::build called with names " << name
22 <<
" and type " << type << std::endl;
37 std::vector<double>
temp;
49 }
else if (type == 2) {
63 <<
" for FastTiming " <<
name;
67 <<
" not found but needed.";
69 <<
" not found but needed.";
72 std::cout <<
"FastTimeParametersFromDD::Returns with flag " << ok
73 <<
" for " << name <<
" and type " << type << std::endl;
83 const std::vector<double> & fvec = value.
doubles();
84 int nval = fvec.size();
86 edm::LogError(
"HGCalGeom") <<
"HGCalGeomParameters : # of " << str
87 <<
" bins " << nval <<
" < 1 ==> illegal";
88 throw cms::Exception(
"DDException") <<
"HGCalGeomParameters: cannot get array " << str;
92 edm::LogError(
"HGCalGeom") <<
"HGCalGeomParameters: cannot get array "
94 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
void addFilter(const DDFilter &, DDLogOp op=DDLogOp::AND)
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
type of data representation of DDCompactView
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 ...
void setCriteria(const DDValue &nameVal, DDCompOp, DDLogOp l=DDLogOp::AND, bool asString=true, bool merged=true)
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.