16 const std::vector<std::string> & fvec = val.strings();
17 if( fvec.size() == 0 )
19 throw cms::Exception(
"HcalParametersFromDD" ) <<
"Failed to get " << s <<
" tag.";
25 return double( mode );
28 throw cms::Exception(
"HcalParametersFromDD" ) <<
"Failed to get "<< s <<
" tag.";
58 for(
unsigned int i = 0;
i < 27; ++
i )
60 std::stringstream sstm;
61 sstm <<
"layerGroupEta" <<
i;
78 DDValue val( attribute, value, 0.0 );
90 if( !ok )
throw cms::Exception(
"HcalParametersFromDD" ) <<
"Not found "<< attribute.c_str() <<
" but needed.";
94 php.
topologyMode = getTopologyMode(
"TopologyMode", sv );
std::vector< double > HEGains
std::vector< double > Layer0Wt
std::vector< int > HBShift
std::vector< double > phioff
std::vector< int > etaMax
std::vector< int > layerGroup
void addFilter(const DDFilter &, DDLogOp op=DDLogOp::AND)
std::vector< double > HBGains
std::vector< int > phigroup
type of data representation of DDCompactView
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
bool build(const DDCompactView *, PHcalParameters &)
std::vector< double > HFGains
std::vector< double > rTable
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
std::vector< int > HFShift
bool check(const std::string &)
std::vector< int > etaMin
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 > phibin
std::vector< double > get(const std::string &)
std::vector< int > etagroup
std::vector< double > phitable
DDsvalues_type mergedSpecifics() const
std::vector< double > etaRange
std::vector< double > etaTable
bool firstChild()
set the current node to the first child ...
std::vector< int > HEShift
std::vector< LayerItem > layerGroupEta
void setCriteria(const DDValue &nameVal, DDCompOp, DDLogOp l=DDLogOp::AND, bool asString=true, bool merged=true)
std::vector< double > gparHF
T parseString(const std::string &value)
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.