54 SolidAnalyser::SolidAnalyser()
75 std::vector<std::pair<G4String,G4double> > & result )
const
78 if ( box )
return GetParam(box,result);
81 if ( cons )
return GetParam(cons,result);
84 if ( pcon )
return GetParam(pcon,result);
87 if ( phed )
return GetParam(phed,result);
90 if ( trap )
return GetParam(trap,result);
93 if ( trd )
return GetParam(trd,result);
96 if ( tubs )
return GetParam(tubs,result);
98 return NotImplemented(s,result);
103 std::vector<std::pair<G4String,G4double> > & result)
const
106 result.push_back(std::make_pair(temp,-1.0));
112 std::vector<std::pair<G4String,G4double> > & result)
const
122 std::vector<std::pair<G4String,G4double> > & result)
const
124 result.push_back(std::make_pair(
G4String(
"rInZ-"),
126 result.push_back(std::make_pair(
G4String(
"rInZ+"),
128 result.push_back(std::make_pair(
G4String(
"rOutZ-"),
130 result.push_back(std::make_pair(
G4String(
"rOutZ+"),
132 result.push_back(std::make_pair(
G4String(
"z/2"),
134 result.push_back(std::make_pair(
G4String(
"startPhi"),
136 result.push_back(std::make_pair(
G4String(
"deltaPhi"),
143 std::vector<std::pair<G4String,G4double> > & result)
const
150 result.push_back(std::make_pair(temp,
G4double(nr)));
151 for (
G4int i=0; i<nr; i++)
153 std::ostringstream sstr_r, sstr_z;
155 sstr_z <<
"z_" << i <<
'\0';
156 sstr_r <<
"r_" << i <<
'\0';
159 result.push_back(std::make_pair(z_str, sideRz.
z));
160 result.push_back(std::make_pair(r_str, sideRz.
r));
167 std::vector<std::pair<G4String,G4double> > & result)
const
171 result.push_back(std::make_pair(
G4String(
"nrSide"),
178 for (
G4int i=0; i<nr; i++)
180 std::ostringstream sstr_r, sstr_z;
182 sstr_z <<
"z_" << i <<
'\0';
183 sstr_r <<
"r_" << i <<
'\0';
186 result.push_back(std::make_pair(z_str, sideRz.
z));
187 result.push_back(std::make_pair(r_str, sideRz.
r));
194 std::vector<std::pair<G4String,G4double> > & result)
const
213 std::vector<std::pair<G4String,G4double> > & result)
const
226 std::vector<std::pair<G4String,G4double> > & result)
const
231 result.push_back(std::make_pair(
G4String(
"startPhi"),
233 result.push_back(std::make_pair(
G4String(
"deltaPhi"),
240 std::vector<std::pair<G4String,G4double> > &
v)
242 std::vector<std::pair<G4String,G4double> >::iterator it =
v.begin();
243 while ( it !=
v.end() )
245 flux << (*it).first <<
'=' << (*it).second <<
"<br/>" <<
G4endl;