|
||||
File indexing completed on 2025-01-18 09:58:46
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 // 0028 // Geant4 muon neutrino nucleus scattering Process -- header file 0029 // 0030 // Created from G4HadronElasticProcess 01.03.19 V. Grichine 0031 // 0032 // Modified: 0033 // 0034 // 05.04.23 V.Grichine first implementation 0035 // 06.11.23 V.Ivantchenko - make inheritence from G4VDiscreteProcess 0036 0037 // Class Description 0038 // General process for neutrino nucleus 2->X scattering 0039 // Class Description - End 0040 0041 #ifndef G4NuVacOscProcess_h 0042 #define G4NuVacOscProcess_h 1 0043 0044 #include "globals.hh" 0045 #include "G4VDiscreteProcess.hh" 0046 0047 class G4ParticleDefinition; 0048 0049 class G4NuVacOscProcess : public G4VDiscreteProcess 0050 { 0051 public: 0052 0053 G4NuVacOscProcess(const G4String& anEnvelopeName, 0054 const G4String& procName = "nuVacOscillation"); 0055 0056 ~G4NuVacOscProcess() override = default; 0057 0058 void InitParameters(); 0059 0060 G4double GetMeanFreePath(const G4Track &aTrack, G4double, G4ForceCondition *) override; 0061 0062 G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep) override; 0063 0064 G4int NuVacProbability( G4int aa, G4double Enu, G4double Lnu ); 0065 0066 void ProcessDescription(std::ostream& outFile) const override; 0067 0068 // set internal limit 0069 void SetLowestEnergy(G4double e) { fLowestEnergy = e; } 0070 0071 void SetBiasingFactor(G4double bf) { 0072 if(bf > 1.0) { fNuNuclTotXscBias = bf; fBiased = true; } 0073 } 0074 0075 // hide assignment operator as private 0076 G4NuVacOscProcess& operator=(const G4NuVacOscProcess &right)=delete; 0077 G4NuVacOscProcess(const G4NuVacOscProcess& )=delete; 0078 0079 private: 0080 0081 G4bool fBiased{false}; 0082 G4bool fAnti{false}; 0083 G4bool fNormOrd{true}; 0084 0085 G4String fEnvelopeName; 0086 0087 G4double fLowestEnergy; 0088 G4double fNuNuclTotXscBias {1.0}; 0089 0090 G4double fSin2t12, fSin2t23, fSin2t13; 0091 G4double fDsm21, fDsm32, fdcp; 0092 0093 G4complex fUdcp[3][3]; // vacuum PMNS matrix, Dirac nu, CP delta13 0094 G4double fDms[3][3]; // dm2 matrix, 0095 // involved oscillationg paricles 0096 G4ParticleDefinition* theNuE; 0097 G4ParticleDefinition* theAntiNuE; 0098 G4ParticleDefinition* theNuMu; 0099 G4ParticleDefinition* theAntiNuMu; 0100 G4ParticleDefinition* theNuTau; 0101 G4ParticleDefinition* theAntiNuTau; 0102 }; 0103 0104 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |