Import Geant4 11.2.1 source tree

This commit is contained in:
Gabriele Cosmo
2024-02-16 14:58:45 +01:00
parent 860a2b92bf
commit dda54bbdcf
331 changed files with 48457 additions and 50699 deletions
@@ -53,7 +53,7 @@ class G4GaussXTRadiator : public G4VXTRenergyLoss
~G4GaussXTRadiator();
// reimplementation of base class function in analytical way
G4double SpectralXTRdEdxFS(G4double energy);
G4double SpectralXTRdEdx(G4double energy) override;
G4double GetStackFactor(G4double energy, G4double gamma,
G4double varAngle) override;
@@ -151,6 +151,8 @@ class G4VXTRenergyLoss : public G4VDiscreteProcess
void SetCompton(G4bool pC) { fCompton = pC; };
G4bool GetCompton() { return fCompton; };
G4int GetKrange(){ return fKrange;};
void SetKrange( G4int kk ){ fKrange = kk;};
void SetAlphaGas(G4double ag){ fAlphaGas = ag;};
@@ -214,7 +216,7 @@ class G4VXTRenergyLoss : public G4VDiscreteProcess
G4int fTotBin; // number of bins in log-gamma scale
G4int fBinTR; // number of bins in TR energy-angle vectors
G4int fKrange;
G4ParticleDefinition* fPtrGamma; // pointer to TR photon
G4double* fGammaCutInKineticEnergy; // TR photon cut in energy array