Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -14,11 +14,18 @@ code and to keep track of all tags.
|
||||
* Please list in reverse chronological order (last date on top)
|
||||
---------------------------------------------------------------
|
||||
|
||||
05 February 2020 A. Ribon (hadr-stopping-V10-05-03)
|
||||
01 April 2020 V.Ivanchenko (hadr-stopping-V10-06-02)
|
||||
--------------------------------------------------------------------
|
||||
- G4MuonicAtomDecay : (applied fix made by Vladimir Ivanchenko on
|
||||
27 January 2020 on the master) fixed Coverity warning by addition
|
||||
of G4Exception.
|
||||
- G4MuonicAtomDecay - fixed Coverity warning
|
||||
|
||||
24 February 2020 V.Ivanchenko (hadr-stopping-V10-06-01)
|
||||
--------------------------------------------------------------------
|
||||
- G4HadronicAbsorptionFritiof, G4HadronicAbsorptionFritiofWithBinaryCascade
|
||||
simplified instantiation of the FTF model, do not destruct its components
|
||||
|
||||
27 January 2020 V.Ivanchenko (hadr-stopping-V10-06-00)
|
||||
--------------------------------------------------------------------
|
||||
- G4MuonicAtomDecay - fixed Coverity warning by addition of G4Exception
|
||||
|
||||
06 November 2019 V.Ivanchenko (hadr-stopping-V10-05-02)
|
||||
--------------------------------------------------------------------
|
||||
|
||||
@@ -47,9 +47,6 @@
|
||||
#include "G4HadronStoppingProcess.hh"
|
||||
|
||||
class G4ParticleDefinition;
|
||||
class G4LundStringFragmentation;
|
||||
class G4ExcitedStringDecay;
|
||||
|
||||
|
||||
class G4HadronicAbsorptionFritiof : public G4HadronStoppingProcess {
|
||||
|
||||
@@ -68,9 +65,6 @@ private:
|
||||
|
||||
G4ParticleDefinition* pdefApplicable;
|
||||
|
||||
G4LundStringFragmentation * theLund;
|
||||
G4ExcitedStringDecay * theStringDecay;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
-7
@@ -54,9 +54,6 @@
|
||||
#include "G4HadronStoppingProcess.hh"
|
||||
|
||||
class G4ParticleDefinition;
|
||||
class G4LundStringFragmentation;
|
||||
class G4ExcitedStringDecay;
|
||||
|
||||
|
||||
class G4HadronicAbsorptionFritiofWithBinaryCascade : public G4HadronStoppingProcess {
|
||||
|
||||
@@ -74,10 +71,6 @@ private:
|
||||
G4HadronicAbsorptionFritiofWithBinaryCascade( const G4HadronicAbsorptionFritiofWithBinaryCascade& );
|
||||
|
||||
G4ParticleDefinition* pdefApplicable;
|
||||
|
||||
G4LundStringFragmentation* theLund;
|
||||
G4ExcitedStringDecay* theStringDecay;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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