Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbDetectorBuilder.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbDetectorBuilder
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbDetectorConstruction.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbDetectorConstruction
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbElement.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbElement
@@ -106,7 +106,7 @@ class G4tgbGeometryDumper
private:
static G4tgbGeometryDumper* theInstance;
static G4ThreadLocal G4tgbGeometryDumper* theInstance;
std::ofstream* theFile;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbIsotope.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbIsotope
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbMaterial.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbMaterial
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbMaterialMgr.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgbMaterialMgr
@@ -119,7 +119,7 @@ class G4tgbMaterialMgr
private:
static G4tgbMaterialMgr* theInstance;
static G4ThreadLocal G4tgbMaterialMgr* theInstance;
G4mstgbisot theG4tgbIsotopes;
// List of all tgbIsotopes created
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbMaterialMixture.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbMaterialMixture
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbMaterialMixtureByNoAtoms.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbMaterialMixtureByNoAtoms
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbMaterialMixtureByVolume.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbMaterialMixtureByVolume
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbMaterialMixtureByWeight.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbMaterialMixtureByWeight
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbMaterialSimple.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbMaterialSimple
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbPlaceParamCircle.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbPlaceParamCircle
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbPlaceParamLinear.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbPlaceParamLinear
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbPlaceParamSquare.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbPlaceParamSquare
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbPlaceParameterisation.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbPlaceParamSquare
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbRotationMatrix.hh 68052 2013-03-13 14:38:53Z gcosmo $
//
//
// class G4tgbRotationMatrix
@@ -71,7 +71,6 @@ class G4tgbRotationMatrix
private:
G4tgrRotationMatrix* theTgrRM;
G4RotationMatrix* theG4RM;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbRotationMatrixMgr.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgbRotationMatrixMgr
@@ -83,7 +83,7 @@ class G4tgbRotationMatrixMgr
G4tgbRotationMatrixMgr();
void CopyRotMats();
static G4tgbRotationMatrixMgr* theInstance;
static G4ThreadLocal G4tgbRotationMatrixMgr* theInstance;
private:
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbVolume.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgbVolume
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgbVolumeMgr.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgbVolume
@@ -137,7 +137,7 @@ class G4tgbVolumeMgr
private:
static G4tgbVolumeMgr* theInstance;
static G4ThreadLocal G4tgbVolumeMgr* theInstance;
G4mssvol theVolumeList;
// Map of G4tgbVolume's: G4String is the G4tgbVolume name,
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrElement.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrElement
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrElementFromIsotopes.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrElementFromIsotopes
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrElementSimple.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrElementSimple
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrEvaluator.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrEvaluator
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrFileIn.hh 68052 2013-03-13 14:38:53Z gcosmo $
//
//
// class G4tgrFileIn
@@ -89,7 +89,7 @@ class G4tgrFileIn
G4int theCurrentFile;
// Index of file being read in theFiles
static std::vector<G4tgrFileIn*> theInstances;
static G4ThreadLocal std::vector<G4tgrFileIn*> *theInstances;
// Vector of class instances (each one identified by its name)
G4String theName;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrFileReader.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgrFileReader
@@ -69,7 +69,7 @@ class G4tgrFileReader
private:
static G4tgrFileReader* theInstance;
static G4ThreadLocal G4tgrFileReader* theInstance;
std::vector<G4String> theTextFiles;
G4tgrLineProcessor* theLineProcessor;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrIsotope.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrIsotope
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrLineProcessor.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrIsotope
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrMaterial.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrMaterial
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrMaterialFactory.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgrMaterialFactory
@@ -111,7 +111,7 @@ class G4tgrMaterialFactory
const G4bool bNoRepeating = true );
private:
static G4tgrMaterialFactory* theInstance;
static G4ThreadLocal G4tgrMaterialFactory* theInstance;
G4mstgrisot theG4tgrIsotopes;
// List of all G4tgrIsotopes created
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrMaterialMixture.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrMaterialMixture
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrMaterialSimple.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrMaterialSimple
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrMessenger.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgrMessenger
@@ -62,7 +62,7 @@ class G4tgrMessenger : public G4UImessenger
G4UIdirectory* tgDirectory;
G4UIcmdWithAnInteger* verboseCmd;
static G4int theVerboseLevel;
static G4ThreadLocal G4int theVerboseLevel;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrParameterMgr.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgrParameterMgr
@@ -81,7 +81,7 @@ class G4tgrParameterMgr
// Map of Parameter's: G4String is the Parameter name,
// double is its value
static G4tgrParameterMgr* theInstance;
static G4ThreadLocal G4tgrParameterMgr* theInstance;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrPlace.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrPlace
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrPlaceDivRep.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrPlaceDivRep
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrPlaceParameterisation.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrPlaceParameterisation
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrPlaceSimple.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrPlaceSimple
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrRotationMatrix.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrRotationMatrix
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrRotationMatrixFactory.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgrRotationMatrixFactory
@@ -76,7 +76,7 @@ class G4tgrRotationMatrixFactory
private:
static G4tgrRotationMatrixFactory* theInstance;
static G4ThreadLocal G4tgrRotationMatrixFactory* theInstance;
std::vector<G4tgrRotationMatrix*> theTgrRotMatList;
G4mstgrrotm theTgrRotMats;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrSolid.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrSolid
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrSolidBoolean.hh 68052 2013-03-13 14:38:53Z gcosmo $
//
//
// class G4tgrSolidBoolean
@@ -83,10 +83,11 @@ inline const G4tgrSolid* G4tgrSolidBoolean::GetSolid( G4int ii ) const
{
if((ii != 0) && (ii != 1))
{
G4String ErrMessage = "Only two G4tgrSolids (0,1) possible ! Asking for... "
+ ii;
std::ostringstream message;
message << "Only two G4tgrSolids (0,1) possible ! Asking for... "
<< ii;
G4Exception("G4tgrSolidBoolean::GetSolid()", "InvalidInput",
FatalException, ErrMessage);
FatalException, message);
}
return theSolids[ii];
}
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrUtils.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgrUtils
@@ -105,7 +105,7 @@ class G4tgrUtils
private:
static G4tgrEvaluator* theEvaluator;
static G4ThreadLocal G4tgrEvaluator* theEvaluator;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrVolume.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrVolume
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrVolumeAssembly.hh 66363 2012-12-18 09:12:54Z gcosmo $
//
//
// class G4tgrVolumeAssembly
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrVolumeDivision.hh 68052 2013-03-13 14:38:53Z gcosmo $
//
//
// class G4tgrVolumeDivision
@@ -63,13 +63,10 @@ class G4tgrVolumeDivision : public G4tgrVolume
G4tgrVolumeDivision( const std::vector<G4String>& wl );
~G4tgrVolumeDivision();
G4bool SetSolid(G4tgrVolume* parentDU, G4bool byStep,
EAxis axis, G4double div_step, G4double offset);
// G4bool SetSolid(G4tgrVolume* parentDU, G4bool byStep,
// EAxis axis, G4double div_step, G4double offset);
// Set the solid type and parameters dividing the mother volune
static void SetSupportedAxis();
// Set the list of supported axis for each solid types
G4tgrPlaceDivRep* GetPlaceDivision() { return thePlaceDiv; }
friend std::ostream& operator<<(std::ostream& os,
@@ -77,7 +74,6 @@ class G4tgrVolumeDivision : public G4tgrVolume
private:
G4tgrPlaceDivRep* thePlaceDiv;
static G4mmss theSupportedAxis;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4tgrVolumeMgr.hh 66872 2013-01-15 01:25:57Z japost $
//
//
// class G4tgrVolumeMgr
@@ -140,7 +140,7 @@ class G4tgrVolumeMgr
// Hierarchy tree of G4tgrVolume's: G4String is the name
// of the parent G4tgrVolume, G4tgrPlace* the pointers to children
static G4tgrVolumeMgr* theInstance;
static G4ThreadLocal G4tgrVolumeMgr* theInstance;
std::vector<G4tgrVolume*> theG4tgrVolumeList;
std::vector<G4tgrPlace*> theG4tgrPlaceList;