Warning, file /include/Geant4/G4AdjointComptonModel.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034 #ifndef G4AdjointComptonModel_h
0035 #define G4AdjointComptonModel_h 1
0036
0037 #include "globals.hh"
0038 #include "G4VEmAdjointModel.hh"
0039
0040 class G4VEmProcess;
0041
0042 class G4AdjointComptonModel : public G4VEmAdjointModel
0043 {
0044 public:
0045 G4AdjointComptonModel();
0046 ~G4AdjointComptonModel() override;
0047
0048 void SampleSecondaries(const G4Track& aTrack, G4bool isScatProjToProj,
0049 G4ParticleChange* fParticleChange) override;
0050
0051 void RapidSampleSecondaries(const G4Track& aTrack, G4bool isScatProjToProj,
0052 G4ParticleChange* fParticleChange);
0053
0054 G4double DiffCrossSectionPerAtomPrimToScatPrim(
0055 G4double kinEnergyProj,
0056 G4double kinEnergyScatProj,
0057 G4double Z, G4double A = 0.) override;
0058
0059 G4double DiffCrossSectionPerAtomPrimToSecond(
0060 G4double kinEnergyProj,
0061 G4double kinEnergyProd,
0062 G4double Z, G4double A = 0.) override;
0063
0064 G4double GetSecondAdjEnergyMaxForScatProjToProj(
0065 G4double primAdjEnergy) override;
0066 G4double GetSecondAdjEnergyMinForProdToProj(G4double primAdjEnergy) override;
0067
0068 G4double AdjointCrossSection(const G4MaterialCutsCouple* aCouple,
0069 G4double primEnergy,
0070 G4bool isScatProjToProj) override;
0071
0072 inline void SetDirectProcess(G4VEmProcess* aProcess)
0073 {
0074 fDirectProcess = aProcess;
0075 };
0076
0077 G4AdjointComptonModel(G4AdjointComptonModel&) = delete;
0078 G4AdjointComptonModel& operator=(const G4AdjointComptonModel& right) = delete;
0079
0080 private:
0081 G4VEmProcess* fDirectProcess = nullptr;
0082
0083 G4double fDirectCS = 0.;
0084 };
0085
0086 #endif