107 std::map< G4String, std::set<G4int> > angleParams;
108 std::set<G4int> apar;
109 apar.clear(); apar.insert(3); apar.insert(4);
110 angleParams[
"TUBS"] = apar;
111 apar.clear(); apar.insert(5); apar.insert(6);
112 angleParams[
"CONS"] = apar;
113 apar.clear(); apar.insert(3); apar.insert(4); apar.insert(5);
114 angleParams[
"PARA"] = apar;
115 apar.clear(); apar.insert(1); apar.insert(2); apar.insert(6); apar.insert(10);
116 angleParams[
"TRAP"] = apar;
117 apar.clear(); apar.insert(2); apar.insert(3); apar.insert(4); apar.insert(5);
118 angleParams[
"SPHERE"] = apar;
119 apar.clear(); apar.insert(3); apar.insert(4);
120 angleParams[
"TORUS"] = apar;
121 apar.clear(); apar.insert(0); apar.insert(1);
122 angleParams[
"POLYCONE"] = apar;
123 apar.clear(); apar.insert(0); apar.insert(1);
124 angleParams[
"POLYHEDRA"] = apar;
125 apar.clear(); apar.insert(2); apar.insert(3);
126 angleParams[
"HYPE"] = apar;
127 apar.clear(); apar.insert(0);
128 angleParams[
"TWISTED_BOX"] = apar;
129 apar.clear(); apar.insert(0); apar.insert(2); apar.insert(3); apar.insert(10);
130 angleParams[
"TWISTED_TRAP"] = apar;
131 apar.clear(); apar.insert(5);
132 angleParams[
"TWISTED_TRD"] = apar;
133 apar.clear(); apar.insert(0); apar.insert(4);
134 angleParams[
"TWISTED_TUBS"] = apar;
136 std::vector<G4double>* vd =
new std::vector<G4double>;
138 size_t noParRead = wl.size()-3;
142 for(
size_t ii = 0; ii < noParRead; ii++)
145 std::map< G4String, std::set<G4int> >::iterator ite
146 = angleParams.find(solidType);
147 if( ite != angleParams.end() )
149 std::set<G4int> apar2 = (*ite).second;
150 if( apar2.find(ii) != apar2.end() )
157 G4cout <<
" G4tgrSolid::FillSolidParams() - Angle param found "
158 << solidType <<
" " << ii <<
G4endl;
174 os <<
"G4tgrSolid= " << sol.
theName
175 <<
" of type " << sol.
theType <<
" PARAMS: ";
179 for(
size_t ii = 0; ii < solpar.size(); ii++)
181 os << solpar[ii] <<
" " ;