Function RMGGeneratorUtil::IsSampleable¶
Function Documentation¶
-
bool RMGGeneratorUtil::IsSampleable(std::string g4_solid_type)¶
Check if a given Geant4 solid type is supported for native sampling.
This function verifies if the provided solid type (as a string) corresponds to a supported type for random sampling.
- Parameters:
g4_solid_type – A string representing the Geant4 solid type.
- Returns:
true if the solid type is sampleable; false otherwise.