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.";
34 std::array<std::string,2> mtdSubdet { {
"BTL",
"ETL" } };
36 for(
const auto&
name : mtdSubdet )
42 putOne( subdet, subdetPars, ptp );
54 int topoMode = getMTDTopologyMode(
"TopologyMode", sv);
57 throw cms::Exception(
"MTDParametersFromDD" ) <<
"Not found "<< attribute.c_str() <<
" but needed."; }
68 ptp.
vitems_.emplace_back( item );
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_
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 &)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
bool firstChild()
set the current node to the first child ...