Import Geant4 6.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:49:58 +02:00
parent 96686e0c8f
commit 1d812b78b1
4545 changed files with 24433 additions and 175005 deletions
@@ -27,7 +27,7 @@
// and all its terms.
//
// $Id: G4HtmlPPReporter.hh,v 1.1 2003/09/21 19:38:49 kurasige Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
//
//
// ---------------------------------------------------------------
@@ -27,7 +27,7 @@
// and all its terms.
//
// $Id: G4SimplePPReporter.hh,v 1.1 2003/09/21 19:38:50 kurasige Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
//
//
// ---------------------------------------------------------------
@@ -0,0 +1,64 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4TextPPReporter.hh,v 1.1 2004/03/11 09:47:44 kurasige Exp $
// GEANT4 tag $Name: geant4-06-01 $
//
//
// ---------------------------------------------------------------
#ifndef G4TextPPReporter_h
#define G4TextPPReporter_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VParticlePropertyReporter.hh"
class G4TextPPReporter: public G4VParticlePropertyReporter
{
public:
//constructors
G4TextPPReporter();
//destructor
virtual ~G4TextPPReporter();
public:
virtual void Print(const G4String& option="");
protected:
void SparseOption(const G4String& option);
void GeneratePropertyTable(G4ParticleDefinition* );
protected:
G4String baseDir;
};
#endif
@@ -0,0 +1,66 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4TextPPRetriever.hh,v 1.1 2004/03/11 09:47:44 kurasige Exp $
// GEANT4 tag $Name: geant4-06-01 $
//
//
// ---------------------------------------------------------------
#ifndef G4TextPPRetriever_h
#define G4TextPPRetriever_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <iomanip>
#include <fstream>
#include "G4VParticlePropertyRetriever.hh"
class G4TextPPRetriever: public G4VParticlePropertyRetriever
{
public:
//constructors
G4TextPPRetriever();
//destructor
virtual ~G4TextPPRetriever();
public:
virtual void Retrieve(const G4String& option="");
protected:
void SparseOption(const G4String& option);
G4bool ModifyPropertyTable(G4ParticleDefinition* );
protected:
G4String baseDir;
};
#endif
@@ -27,7 +27,7 @@
// and all its terms.
//
// $Id: G4VParticlePropertyReporter.hh,v 1.1 2003/09/21 19:38:50 kurasige Exp $
// GEANT4 tag $Name: geant4-06-00 $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
//
//
// ---------------------------------------------------------------
@@ -0,0 +1,85 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VParticlePropertyRetriever.hh,v 1.1 2004/03/11 09:47:44 kurasige Exp $
// GEANT4 tag $Name: geant4-06-01 $
//
//
// ---------------------------------------------------------------
#ifndef G4VParticlePropertyRetriever_h
#define G4VParticlePropertyRetriever_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <vector>
#include "G4ParticlePropertyData.hh"
#include "G4ParticlePropertyTable.hh"
class G4VParticlePropertyRetriever
{
public:
//constructors
G4VParticlePropertyRetriever();
//destructor
virtual ~G4VParticlePropertyRetriever();
public:
// equality operators
G4int operator==(const G4VParticlePropertyRetriever &right) const
{ return (this == &right); }
G4int operator!=(const G4VParticlePropertyRetriever &right) const
{ return (this != &right); }
public:
virtual void Retrieve(const G4String& option) = 0;
// print out particle properties in the list
protected:
G4ParticlePropertyTable* pPropertyTable;
};
inline
G4VParticlePropertyRetriever::G4VParticlePropertyRetriever()
{
pPropertyTable = G4ParticlePropertyTable::GetParticlePropertyTable();
}
/////////////////////////////
inline
G4VParticlePropertyRetriever::~G4VParticlePropertyRetriever()
{
pPropertyTable->Clear();
}
#endif