Definition at line 164 of file G4HtmlPPReporter.cc.
165{
167
169
171
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;
176
178
179
180 outFile <<
"<H2>" <<
name <<
"</H2>" <<
G4endl;
181 outFile <<
"<HR>" <<
G4endl;
182
183
184 outFile <<
sTABLE <<
'"' <<
"40%" <<
'"' <<
" > " <<
G4endl;
190 outFile <<
"<HR>" <<
G4endl;
191
192
193 outFile <<
sTABLE <<
'"' <<
"60%" <<
'"' <<
" > " <<
G4endl;
194
198
202
205 outFile <<
sTD <<
" ";
207 outFile <<
sTD <<
"1/2 ";
209 outFile <<
sTD <<
"3/2 ";
210 } else {
212 }
214 outFile << "1/2";
216 outFile << "3/2";
218 outFile << "5/2";
220 outFile << "7/2";
222 outFile << "9/2";
224 outFile << "11/2";
226 outFile << "13/2";
227 } else {
229 }
232 outFile << "+";
234 outFile << "-";
235 } else {
236 outFile << " ";
237 }
239 outFile << "+";
241 outFile << "-";
242 } else {
243 outFile << " ";
244 }
247
251
252 outFile <<
sTR <<
sTD <<
sB <<
"Magnetic Moment" <<
eB <<
eTD;
256 } else {
257 outFile <<
sTD <<
" not defined ";
259 }
260
265 } else {
267 outFile <<
sTD <<
"stable" <<
eTD;
269 outFile <<
sTD <<
"short-lived" <<
eTD;
270 } else {
271 outFile <<
sTD <<
"not Defined" <<
eTD;
272 }
273 }
275
277 outFile <<
"<HR>" <<
G4endl;
278
279
280 outFile <<
"<H2>" <<
" Quark Content " <<
"</H2>" <<
G4endl;
281
282 outFile <<
sTABLE <<
'"' <<
"60%" <<
'"' <<
" > " <<
G4endl;
283
285 outFile <<
sTD <<
sB <<
"flavour " <<
eB <<
eTD ;
286 outFile <<
sTD <<
sB <<
" quark " <<
eB <<
eTD;
287 outFile <<
sTD <<
sB <<
" anti-quark " <<
eB <<
eTD;
289
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 ;
297 }
299 outFile <<
"<HR>" <<
G4endl;
300
301
303 if (dcyTable != 0) {
304 outFile <<
"<H2>" <<
" Decay Table " <<
"</H2>" <<
G4endl;
305
306 outFile <<
sTABLE <<
'"' <<
"80%" <<
'"' <<
" > " <<
G4endl;
307
310 outFile <<
sTD <<
sB <<
"kinematics" <<
eB <<
eTD;
312
316
318
320
323 }
325 }
327 outFile <<
"<HR>" <<
G4endl;
328 }
329
331 outFile << "<A HREF=" << '"' << "index.html" << '"' << ">back to index</A>";
333
335}
static constexpr double tesla
static constexpr double second
static constexpr double MeV
G4VDecayChannel * GetDecayChannel(G4int index) const
static const char * sSYMBOL
static const char * eSYMBOL
G4double GetPDGMagneticMoment() const
G4int GetPDGiIsospin() const
G4bool GetPDGStable() const
G4int GetPDGiConjugation() const
G4bool IsShortLived() const
G4double GetPDGMass() const
G4int GetPDGiParity() const
G4int GetPDGEncoding() const
G4int GetQuarkContent(G4int flavor) const
G4double GetPDGWidth() const
G4double GetPDGCharge() const
G4int GetPDGiSpin() const
G4DecayTable * GetDecayTable() const
G4double GetPDGLifeTime() const
G4int GetAntiQuarkContent(G4int flavor) const
const G4String & GetKinematicsName() const
G4int GetNumberOfDaughters() const
G4ParticleDefinition * GetDaughter(G4int anIndex)
References baseDir, eB, G4DecayTable::entries(), eplus, eSUP, eSYMBOL, eTABLE, eTD, eTR, G4endl, G4ParticleDefinition::GetAntiQuarkContent(), G4VDecayChannel::GetBR(), G4VDecayChannel::GetDaughter(), G4DecayTable::GetDecayChannel(), G4ParticleDefinition::GetDecayTable(), G4VDecayChannel::GetKinematicsName(), G4VDecayChannel::GetNumberOfDaughters(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGEncoding(), G4ParticleDefinition::GetPDGiConjugation(), G4ParticleDefinition::GetPDGiIsospin(), G4ParticleDefinition::GetPDGiParity(), G4ParticleDefinition::GetPDGiSpin(), G4ParticleDefinition::GetPDGLifeTime(), G4ParticleDefinition::GetPDGMagneticMoment(), G4ParticleDefinition::GetPDGMass(), G4ParticleDefinition::GetPDGStable(), G4ParticleDefinition::GetPDGWidth(), G4ParticleDefinition::GetQuarkContent(), GeV, G4ParticleDefinition::IsShortLived(), MeV, G4InuclParticleNames::name(), PrintFooter(), PrintHeader(), sB, second, sSUP, sSYMBOL, sTABLE, sTD, sTR, and tesla.
Referenced by Print().