61 for (
size_t i=0; i<
pList.size(); i++){
86 std::ofstream outFile(fileName, std::ios::out );
87 outFile.setf( std::ios:: scientific, std::ios::floatfield );
97 outFile <<
sTABLE <<
'"' <<
"80%" <<
'"' <<
" > " <<
G4endl;
111 outFile <<
sTD <<
" " <<
eTD;
112 outFile <<
sTD <<
" " <<
eTD;
114 outFile <<
sTD <<
" " <<
eTD;
115 outFile <<
sTD <<
" [ns]" <<
eTD;
116 outFile <<
sTD <<
" " <<
eTD;
119 for (
size_t i=0; i<
pList.size(); i++){
120 if (
pList[i]->GetPDGEncoding()<0)
continue;
122 outFile << sTR <<
G4endl;;
130 if (name ==
"J/psi") fname =
"jpsi.html";
133 outFile <<
"<A HREF=" <<
'"' << fname <<
'"' <<
">";
134 outFile << name <<
"</A>" << eTD <<
G4endl;
143 outFile << sTD <<
pList[i]->GetPDGLifeTime()/
ns << eTD <<
G4endl;
146 if ( (
pList[i]->GetAntiPDGEncoding()!= 0) &&
147 (
pList[i]->GetAntiPDGEncoding() !=
pList[i]->GetPDGEncoding() ) ) {
172 if (name ==
"J/psi") fileName =
baseDir +
"jpsi.html";
173 std::ofstream outFile(fileName, std::ios::out );
174 outFile.setf( std::ios:: scientific, std::ios::floatfield );
175 outFile << std::setprecision(7) <<
G4endl;
180 outFile <<
"<H2>" << name <<
"</H2>" <<
G4endl;
181 outFile <<
"<HR>" <<
G4endl;
184 outFile <<
sTABLE <<
'"' <<
"40%" <<
'"' <<
" > " <<
G4endl;
190 outFile <<
"<HR>" <<
G4endl;
193 outFile <<
sTABLE <<
'"' <<
"60%" <<
'"' <<
" > " <<
G4endl;
205 outFile <<
sTD <<
" ";
207 outFile <<
sTD <<
"1/2 ";
209 outFile <<
sTD <<
"3/2 ";
252 outFile <<
sTR <<
sTD <<
sB <<
"Magnetic Moment" <<
eB <<
eTD;
255 outFile <<
"[MeV/T]" << eTD <<
eTR <<
G4endl;
257 outFile <<
sTD <<
" not defined ";
264 outFile <<
"[sec]" << eTD <<
G4endl;
267 outFile <<
sTD <<
"stable" <<
eTD;
269 outFile <<
sTD <<
"short-lived" <<
eTD;
271 outFile <<
sTD <<
"not Defined" <<
eTD;
277 outFile <<
"<HR>" <<
G4endl;
280 outFile <<
"<H2>" <<
" Quark Content " <<
"</H2>" <<
G4endl;
282 outFile <<
sTABLE <<
'"' <<
"60%" <<
'"' <<
" > " <<
G4endl;
285 outFile <<
sTD <<
sB <<
"flavour " <<
eB <<
eTD ;
286 outFile <<
sTD <<
sB <<
" quark " <<
eB <<
eTD;
287 outFile <<
sTD <<
sB <<
" anti-quark " <<
eB <<
eTD;
290 static const char* quarkName[6] = {
"d",
"u",
"s",
"c",
"b",
"t" };
291 for (
G4int flv = 0; flv <6 ; flv++ ){
293 outFile <<
sTD <<
sB << quarkName[flv] <<
eB <<
eTD ;
299 outFile <<
"<HR>" <<
G4endl;
304 outFile <<
"<H2>" <<
" Decay Table " <<
"</H2>" <<
G4endl;
306 outFile <<
sTABLE <<
'"' <<
"80%" <<
'"' <<
" > " <<
G4endl;
310 outFile <<
sTD <<
sB <<
"kinematics" <<
eB <<
eTD;
315 outFile << sTR <<
G4endl;;
327 outFile <<
"<HR>" <<
G4endl;
331 outFile <<
"<A HREF=" <<
'"' <<
"index.html" <<
'"' <<
">back to index</A>";
339 outFile <<
"<HTML>" <<
G4endl;
340 outFile <<
"<HEAD>" <<
G4endl;
341 outFile <<
" <META HTTP-EQUIV=" <<
"\"" <<
" Content-Type" <<
"\"";
342 outFile <<
" CONTENT="
343 <<
"\"" <<
"text/html; charset=iso-8859-1"
345 outFile <<
" <TITLE>Geant4 Particle List </TITLE>" <<
G4endl;
346 outFile <<
"</HEAD>" <<
G4endl;
347 outFile <<
"<! -- Generated automatically by Geant4, "
349 outFile <<
"<BODY>" <<
G4endl;
354 outFile <<
"<HR>" <<
G4endl;
355 outFile <<
"</BODY>" <<
G4endl;
356 outFile <<
"</HTML>" <<
G4endl;