Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -457,13 +457,13 @@ void CexmcSetup::ReadRightDetectors( void )
{
if ( ( *k )->GetLogicalVolume() == vetoCounterVolume )
{
if ( ( *k )->GetName().contains( "Right" ) )
if ( G4StrUtil::contains(( *k )->GetName(), "Right" ) )
rightVetoCounter = *k;
break;
}
if ( ( *k )->GetLogicalVolume() == calorimeterVolume )
{
if ( ( *k )->GetName().contains( "Right" ) )
if ( G4StrUtil::contains(( *k )->GetName(), "Right" ) )
rightCalorimeter = *k;
break;
}