173 if (name ==
"J/psi") fileName =
baseDir +
"jpsi.html";
174 std::ofstream outFile(fileName, std::ios::out );
175 outFile.setf( std::ios:: scientific, std::ios::floatfield );
176 outFile << std::setprecision(7) <<
G4endl;
181 outFile <<
"<H2>" << name <<
"</H2>" <<
G4endl;
182 outFile <<
"<HR>" <<
G4endl;
185 outFile <<
sTABLE <<
'"' <<
"40%" <<
'"' <<
" > " <<
G4endl;
191 outFile <<
"<HR>" <<
G4endl;
194 outFile <<
sTABLE <<
'"' <<
"60%" <<
'"' <<
" > " <<
G4endl;
206 outFile <<
sTD <<
" ";
208 outFile <<
sTD <<
"1/2 ";
210 outFile <<
sTD <<
"3/2 ";
253 outFile <<
sTR <<
sTD <<
sB <<
"Magnetic Moment" <<
eB <<
eTD;
256 outFile <<
"[MeV/T]" << eTD <<
eTR <<
G4endl;
258 outFile <<
sTD <<
" not defined ";
265 outFile <<
"[sec]" << eTD <<
G4endl;
268 outFile <<
sTD <<
"stable" <<
eTD;
270 outFile <<
sTD <<
"short-lived" <<
eTD;
272 outFile <<
sTD <<
"not Defined" <<
eTD;
278 outFile <<
"<HR>" <<
G4endl;
281 outFile <<
"<H2>" <<
" Quark Content " <<
"</H2>" <<
G4endl;
283 outFile <<
sTABLE <<
'"' <<
"60%" <<
'"' <<
" > " <<
G4endl;
286 outFile <<
sTD <<
sB <<
"flavour " <<
eB <<
eTD ;
287 outFile <<
sTD <<
sB <<
" quark " <<
eB <<
eTD;
288 outFile <<
sTD <<
sB <<
" anti-quark " <<
eB <<
eTD;
291 static const char* quarkName[6] = {
"d",
"u",
"s",
"c",
"b",
"t" };
292 for (
G4int flv = 0; flv <6 ; flv++ ){
294 outFile <<
sTD <<
sB << quarkName[flv] <<
eB <<
eTD ;
300 outFile <<
"<HR>" <<
G4endl;
305 outFile <<
"<H2>" <<
" Decay Table " <<
"</H2>" <<
G4endl;
307 outFile <<
sTABLE <<
'"' <<
"80%" <<
'"' <<
" > " <<
G4endl;
311 outFile <<
sTD <<
sB <<
"kinematics" <<
eB <<
eTD;
316 outFile << sTR <<
G4endl;;
328 outFile <<
"<HR>" <<
G4endl;
332 outFile <<
"<A HREF=" <<
'"' <<
"index.html" <<
'"' <<
">back to index</A>";
G4bool IsShortLived() const
G4int GetQuarkContent(G4int flavor) const
G4ParticleDefinition * GetDaughter(G4int anIndex)
G4double GetPDGLifeTime() const
const G4String & GetParticleType() const
G4bool GetPDGStable() const
static const char * eSYMBOL
G4int GetPDGiIsospin() const
G4int GetPDGiSpin() const
G4int GetNumberOfDaughters() const
const G4String & GetParticleName() const
G4int GetPDGEncoding() const
void PrintFooter(std::ofstream &)
G4int GetPDGiParity() const
G4double GetPDGMagneticMoment() const
G4DecayTable * GetDecayTable() const
static const double second
G4double GetPDGWidth() const
const G4String & GetKinematicsName() const
static const char * sTABLE
static const char * sSYMBOL
G4VDecayChannel * GetDecayChannel(G4int index) const
G4double GetPDGMass() const
G4int GetPDGiConjugation() const
static const char * eTABLE
G4int GetAntiQuarkContent(G4int flavor) const
static const double tesla
static const double eplus
G4double GetPDGCharge() const
void PrintHeader(std::ofstream &)