File indexing completed on 2025-01-18 09:58:12
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
0035
0036
0037
0038
0039
0040 #ifndef G4ElNeutrinoNucleusProcess_h
0041 #define G4ElNeutrinoNucleusProcess_h 1
0042
0043 #include "globals.hh"
0044 #include "G4HadronicProcess.hh"
0045
0046 class G4ParticleDefinition;
0047 class G4CrossSectionDataStore;
0048 class G4ElNeutrinoNucleusTotXsc;
0049 class G4SafetyHelper;
0050
0051 class G4ElNeutrinoNucleusProcess : public G4HadronicProcess
0052 {
0053 public:
0054
0055 G4ElNeutrinoNucleusProcess(const G4String& anEnvelopeName,
0056 const G4String& procName = "elNuNucleus");
0057
0058 ~G4ElNeutrinoNucleusProcess() override = default;
0059
0060 G4double PostStepGetPhysicalInteractionLength(
0061 const G4Track& track,
0062 G4double previousStepSize,
0063 G4ForceCondition* condition
0064 ) override;
0065
0066 G4double GetMeanFreePath(const G4Track &aTrack,
0067 G4double, G4ForceCondition*) override;
0068
0069 G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
0070 const G4Step& aStep) override;
0071
0072 void ProcessDescription(std::ostream& outFile) const override;
0073
0074
0075 void SetLowestEnergy(G4double);
0076 void SetBiasingFactors(G4double bfCc, G4double bfNc);
0077 void SetBiasingFactor(G4double bf);
0078
0079
0080 G4ElNeutrinoNucleusProcess& operator=
0081 (const G4ElNeutrinoNucleusProcess &right) = delete;
0082 G4ElNeutrinoNucleusProcess(const G4ElNeutrinoNucleusProcess&) = delete;
0083
0084 private:
0085
0086 G4ElNeutrinoNucleusTotXsc* fTotXsc;
0087 G4SafetyHelper* safetyHelper;
0088 G4double lowestEnergy;
0089 G4double fNuNuclCcBias{1.0};
0090 G4double fNuNuclNcBias{1.0};
0091 G4double fNuNuclTotXscBias{1.0};
0092 G4String fEnvelopeName;
0093 };
0094
0095 #endif