Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -30,7 +30,7 @@
// Interface for repeated volumes or parameterisations that are able to
// tabulate their materials.
// 18.11.05, J.Apostolakis - Initial version
// Author: John Apostolakis (CERN), 18.11.2005
// --------------------------------------------------------------------
#ifndef G4VVOLUMEMATERIALSCANNER_HH
#define G4VVOLUMEMATERIALSCANNER_HH
@@ -39,14 +39,29 @@
class G4Material;
/**
* @brief G4VVolumeMaterialScanner is an interface class for repeated volumes
* or parameterisations that are able to tabulate their materials.
*/
class G4VVolumeMaterialScanner
{
public:
G4VVolumeMaterialScanner() {;}
virtual ~G4VVolumeMaterialScanner() {;}
/**
* Default Constructor and Destructor.
*/
G4VVolumeMaterialScanner() = default;
virtual ~G4VVolumeMaterialScanner() = default;
virtual G4int GetNumberOfMaterials() const = 0;
/**
* Method to return the total number of materials.
*/
virtual G4int GetNumberOfMaterials() const = 0;
/**
* Method to return a pointer to the material, given an index.
*/
virtual G4Material* GetMaterial(G4int idx) const = 0;
};