Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
@@ -62,9 +62,7 @@ G4HadronicAbsorptionFritiof( G4ParticleDefinition* pdef )
G4TheoFSGenerator * theModel = new G4TheoFSGenerator( "FTFP" );
G4FTFModel * theStringModel = new G4FTFModel;
theLund = new G4LundStringFragmentation;
theStringDecay = new G4ExcitedStringDecay( theLund );
theStringModel->SetFragmentationModel( theStringDecay );
theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
// Not a cascade - goes straight to Preco
G4HadronicInteraction* p =
@@ -86,13 +84,9 @@ G4HadronicAbsorptionFritiof( G4ParticleDefinition* pdef )
RegisterMe( theModel );
}
G4HadronicAbsorptionFritiof::~G4HadronicAbsorptionFritiof() {
delete theLund;
delete theStringDecay;
}
// Applies to constructor-specified particle, or to all known cases
G4bool G4HadronicAbsorptionFritiof::
IsApplicable( const G4ParticleDefinition& particle ) {
@@ -63,9 +63,7 @@ G4HadronicAbsorptionFritiofWithBinaryCascade( G4ParticleDefinition* pdef )
G4TheoFSGenerator* theModel = new G4TheoFSGenerator( "FTFB" );
G4FTFModel* theStringModel = new G4FTFModel;
theLund = new G4LundStringFragmentation;
theStringDecay = new G4ExcitedStringDecay( theLund );
theStringModel->SetFragmentationModel( theStringDecay );
theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
G4BinaryCascade* theCascade = new G4BinaryCascade;
@@ -80,13 +78,9 @@ G4HadronicAbsorptionFritiofWithBinaryCascade( G4ParticleDefinition* pdef )
RegisterMe( theModel );
}
G4HadronicAbsorptionFritiofWithBinaryCascade::~G4HadronicAbsorptionFritiofWithBinaryCascade() {
delete theLund;
delete theStringDecay;
}
// Applies to constructor-specified particle, or to all known cases
G4bool G4HadronicAbsorptionFritiofWithBinaryCascade::
IsApplicable( const G4ParticleDefinition& particle ) {
@@ -266,9 +266,7 @@ G4VParticleChange* G4MuonicAtomDecay::DecayIt(const G4Track& aTrack,
if (GetVerboseLevel()>1) {
decaychannel->SetVerboseLevel(temp);
}
#endif
#ifdef G4VERBOSE
if (GetVerboseLevel()>2) {
if (GetVerboseLevel()>2 && products) {
if (! products->IsChecked() ) products->DumpInfo();
}
#endif