Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
+1
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user