Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -23,9 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
// class G4VNestedParameterisation
// G4VNestedParameterisation
//
// Class description:
//
@@ -44,8 +42,7 @@
// - the mother volume, in which these copies are placed, must always be
// of the same dimensions
// History:
// 24.02.05 - J.Apostolakis - First created version.
// 24.02.05, J.Apostolakis - First created version.
// --------------------------------------------------------------------
#ifndef G4VNESTEDPARAMETERISATION_HH
#define G4VNESTEDPARAMETERISATION_HH
@@ -87,10 +84,10 @@ class G4VNestedParameterisation: public G4VPVParameterisation,
// -----------------------------------
virtual G4Material* ComputeMaterial(G4VPhysicalVolume* currentVol,
const G4int repNo,
const G4VTouchable* parentTouch=0) = 0;
const G4int repNo,
const G4VTouchable* parentTouch = nullptr) = 0;
// Required method, as it is the reason for this class.
// Must cope with parentTouch=0 for navigator's SetupHierarchy.
// Must cope with parentTouch=nullptr for navigator's SetupHierarchy.
virtual G4int GetNumberOfMaterials() const=0;
virtual G4Material* GetMaterial(G4int idx) const=0;
@@ -104,7 +101,7 @@ class G4VNestedParameterisation: public G4VPVParameterisation,
// Methods optional in derived classes
// -----------------------------------
virtual G4VSolid* ComputeSolid(const G4int no, G4VPhysicalVolume *thisVol);
virtual G4VSolid* ComputeSolid(const G4int no, G4VPhysicalVolume* thisVol);
// Additional standard parameterisation methods,
// which can be optionally defined, in case solid is used.
@@ -162,8 +159,8 @@ class G4VNestedParameterisation: public G4VPVParameterisation,
G4Material* ComputeMaterial(const G4int repNo,
G4VPhysicalVolume *currentVol,
const G4VTouchable *parentTouch=0);
G4VPhysicalVolume* currentVol,
const G4VTouchable* parentTouch = nullptr);
// Method implemented in this class in terms of the above
// ComputeMaterial() method.