Import Geant4 6.1.0 source tree
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4HtmlPPReporter.cc,v 1.2 2003/10/30 09:22:41 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-06-00 $
|
||||
// $Id: G4HtmlPPReporter.cc,v 1.3 2004/02/13 06:33:39 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-06-01 $
|
||||
//
|
||||
//
|
||||
// ---------------------------------------------------------------
|
||||
@@ -99,6 +99,8 @@ void G4HtmlPPReporter::SparseOption(const G4String& option)
|
||||
outFile << eTR << G4endl;;
|
||||
|
||||
for (size_t i=0; i< pList.size(); i++){
|
||||
if (pList[i]->GetPDGEncoding()<0) continue;
|
||||
|
||||
outFile << sTR << G4endl;;
|
||||
// column 1 : endcoding
|
||||
outFile << sTD << pList[i]->GetPDGEncoding() << eTD << G4endl;;
|
||||
@@ -132,6 +134,8 @@ void G4HtmlPPReporter::SparseOption(const G4String& option)
|
||||
|
||||
void G4HtmlPPReporter::GeneratePropertyTable(G4ParticleDefinition* particle)
|
||||
{
|
||||
if (particle->GetPDGEncoding()<0) return;
|
||||
|
||||
G4String name = particle->GetParticleName();
|
||||
//--- open index file -----
|
||||
G4String fileName = baseDir + name + ".html";
|
||||
|
||||
Reference in New Issue
Block a user