22 bool cutInside(
false);
24 if (atts.find(
"cutInside") != atts.end()) {
25 cutInside = (atts.find(
"cutInside")->second ==
"true") ?
true :
false;
30 ev.eval(nmspace, atts.find(
"dz")->second),
31 ev.eval(nmspace, atts.find(
"rMin")->second),
32 ev.eval(nmspace, atts.find(
"rMax")->second),
33 ev.eval(nmspace, atts.find(
"startPhi")->second),
34 ev.eval(nmspace, atts.find(
"deltaPhi")->second));
35 }
else if (
name ==
"Tube") {
37 ev.eval(nmspace, atts.find(
"dz")->second),
38 ev.eval(nmspace, atts.find(
"rMin")->second),
39 ev.eval(nmspace, atts.find(
"rMax")->second),
42 }
else if (
name ==
"TruncTubs") {
44 ev.eval(nmspace, atts.find(
"zHalf")->second),
45 ev.eval(nmspace, atts.find(
"rMin")->second),
46 ev.eval(nmspace, atts.find(
"rMax")->second),
47 ev.eval(nmspace, atts.find(
"startPhi")->second),
48 ev.eval(nmspace, atts.find(
"deltaPhi")->second),
49 ev.eval(nmspace, atts.find(
"cutAtStart")->second),
50 ev.eval(nmspace, atts.find(
"cutAtDelta")->second),
52 }
else if (
name ==
"CutTubs") {
54 ev.eval(nmspace, atts.find(
"dz")->second),
55 ev.eval(nmspace, atts.find(
"rMin")->second),
56 ev.eval(nmspace, atts.find(
"rMax")->second),
57 ev.eval(nmspace, atts.find(
"startPhi")->second),
58 ev.eval(nmspace, atts.find(
"deltaPhi")->second),
59 ev.eval(nmspace, atts.find(
"lx")->second),
60 ev.eval(nmspace, atts.find(
"ly")->second),
61 ev.eval(nmspace, atts.find(
"lz")->second),
62 ev.eval(nmspace, atts.find(
"tx")->second),
63 ev.eval(nmspace, atts.find(
"ty")->second),
64 ev.eval(nmspace, atts.find(
"tz")->second));
66 std::string msg =
"\nDDLTubs::processElement could not process element.";