15 const std::vector<std::string>& fvec =
val.strings();
17 throw cms::Exception(
"MTDParametersFromDD") <<
"Failed to get " << s <<
" tag.";
22 result =
static_cast<int>(eparser);
25 throw cms::Exception(
"MTDParametersFromDD") <<
"Failed to get " << s <<
" tag.";
31 std::array<std::string, 2> mtdSubdet{{
"BTL",
"ETL"}};
33 for (
const auto&
name : mtdSubdet) {
37 putOne(subdet, subdetPars, ptp);
49 int topoMode = getMTDTopologyMode(
"TopologyMode", sv);
52 throw cms::Exception(
"MTDParametersFromDD") <<
"Not found " << attribute.c_str() <<
" but needed.";
std::vector< Item > vitems_
void putOne(int, std::vector< int > &, PMTDParameters &)
Compact representation of the geometrical detector hierarchy.
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
std::vector< int > vpars_
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 > vpars_
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
bool check(const std::string &)
Mode MTDStringToEnumParser(const std::string &)
std::vector< double > get(const std::string &)
DDsvalues_type mergedSpecifics() const
bool build(const DDCompactView *, PMTDParameters &)
bool firstChild()
set the current node to the first child ...