Import Geant4 11.2.0 source tree
This commit is contained in:
+16
-18
@@ -54,26 +54,29 @@ class G4DNAEmfietzoglouIonisationModel : public G4VEmModel
|
||||
|
||||
public:
|
||||
|
||||
G4DNAEmfietzoglouIonisationModel(const G4ParticleDefinition* p = 0,
|
||||
G4DNAEmfietzoglouIonisationModel(const G4ParticleDefinition* p = nullptr,
|
||||
const G4String& nam =
|
||||
"DNAEmfietzoglouIonisationModel");
|
||||
|
||||
virtual ~G4DNAEmfietzoglouIonisationModel();
|
||||
~G4DNAEmfietzoglouIonisationModel() override;
|
||||
|
||||
virtual void Initialise(const G4ParticleDefinition*,
|
||||
const G4DataVector& = *(new G4DataVector()));
|
||||
G4DNAEmfietzoglouIonisationModel & operator=(const G4DNAEmfietzoglouIonisationModel &right) = delete;
|
||||
G4DNAEmfietzoglouIonisationModel(const G4DNAEmfietzoglouIonisationModel&) = delete;
|
||||
|
||||
virtual G4double CrossSectionPerVolume(const G4Material* material,
|
||||
void Initialise(const G4ParticleDefinition*,
|
||||
const G4DataVector& = *(new G4DataVector())) override;
|
||||
|
||||
G4double CrossSectionPerVolume(const G4Material* material,
|
||||
const G4ParticleDefinition* p,
|
||||
G4double ekin,
|
||||
G4double emin,
|
||||
G4double emax);
|
||||
G4double emax) override;
|
||||
|
||||
virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
|
||||
void SampleSecondaries(std::vector<G4DynamicParticle*>*,
|
||||
const G4MaterialCutsCouple*,
|
||||
const G4DynamicParticle*,
|
||||
G4double tmin,
|
||||
G4double maxEnergy);
|
||||
G4double maxEnergy) override;
|
||||
|
||||
G4double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition,
|
||||
G4double k,
|
||||
@@ -103,15 +106,15 @@ private:
|
||||
std::map<G4String, G4double, std::less<G4String> > lowEnergyLimit;
|
||||
std::map<G4String, G4double, std::less<G4String> > highEnergyLimit;
|
||||
|
||||
G4bool isInitialised;
|
||||
G4bool isInitialised{false};
|
||||
G4int verboseLevel;
|
||||
|
||||
// Cross section
|
||||
|
||||
typedef std::map<G4String, G4String, std::less<G4String> > MapFile;
|
||||
using MapFile = std::map<G4String, G4String, std::less<G4String>>;
|
||||
MapFile tableFile; // useful ?
|
||||
|
||||
typedef std::map<G4String, G4DNACrossSectionDataSet*, std::less<G4String> > MapData;
|
||||
using MapData = std::map<G4String, G4DNACrossSectionDataSet *, std::less<G4String>>;
|
||||
MapData tableData;
|
||||
|
||||
// Final state
|
||||
@@ -149,7 +152,7 @@ private:
|
||||
G4double t,
|
||||
G4double e);
|
||||
|
||||
typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
|
||||
using TriDimensionMap = std::map<G4double, std::map<G4double, G4double>>;
|
||||
|
||||
TriDimensionMap eDiffCrossSectionData[6];
|
||||
TriDimensionMap eNrjTransfData[6]; // for cumulated dcs
|
||||
@@ -158,7 +161,7 @@ private:
|
||||
|
||||
std::vector<G4double> eTdummyVec;
|
||||
|
||||
typedef std::map<G4double, std::vector<G4double> > VecMap;
|
||||
using VecMap = std::map<G4double, std::vector<G4double>>;
|
||||
|
||||
VecMap eVecm;
|
||||
|
||||
@@ -168,11 +171,6 @@ private:
|
||||
|
||||
G4int RandomSelect(G4double energy, const G4String& particle);
|
||||
|
||||
//
|
||||
|
||||
G4DNAEmfietzoglouIonisationModel & operator=(const G4DNAEmfietzoglouIonisationModel &right);
|
||||
G4DNAEmfietzoglouIonisationModel(const G4DNAEmfietzoglouIonisationModel&);
|
||||
|
||||
};
|
||||
|
||||
inline void G4DNAEmfietzoglouIonisationModel::SelectFasterComputation(G4bool input)
|
||||
|
||||
Reference in New Issue
Block a user