Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
@@ -27,33 +27,37 @@
#define G4VIsotopeProduction_h 1
#include "G4IsoResult.hh"
#include "G4Track.hh"
#include "G4HadProjectile.hh"
#include "G4Nucleus.hh"
// Class Description
// This is the class you inherit from, if you want to implement your special
// isotope production model, based on your production cross-sections.
// Registering it with the corresponding process, the particle flux from the
// transport models will be fed into the production model, to retrieve improved
// isotope production information.
// Inherit from this class to implement an isotope production model
// based on your production cross sections. Once registered with the
// corresponding LEP model, the particle flux from the LEP model will
// be fed into the production model to retrieve improved isotope
// production information.
// Class Description - End
class G4VIsotopeProduction
{
public:// With Description
public: // With Description
G4VIsotopeProduction() {}
G4VIsotopeProduction() {}
virtual ~G4VIsotopeProduction() {}
// This is the interface to implement for isotope production models.
virtual G4IsoResult * GetIsotope(const G4Track & aTrack, const G4Nucleus & aNucleus) = 0;
virtual ~G4VIsotopeProduction() {}
// Implement this interface for isotope production models
virtual G4IsoResult* GetIsotope(const G4HadProjectile* aTrack,
const G4Nucleus& aNucleus) = 0;
public:// Without Description
G4bool operator == (const G4VIsotopeProduction & aProd)
{
G4bool result = false;
if(&aProd==this) result = true;
return result;
}
public: // Without Description
G4bool operator == (const G4VIsotopeProduction& aProd)
{
G4bool result = false;
if (&aProd == this) result = true;
return result;
}
};
#endif