Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4NuVacOscProcess.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27//
28// Geant4 muon neutrino nucleus scattering Process -- header file
29//
30// Created from G4HadronElasticProcess 01.03.19 V. Grichine
31//
32// Modified:
33//
34// 05.04.23 V.Grichine first implementation
35// 06.11.23 V.Ivantchenko - make inheritence from G4VDiscreteProcess
36
37// Class Description
38// General process for neutrino nucleus 2->X scattering
39// Class Description - End
40
41#ifndef G4NuVacOscProcess_h
42#define G4NuVacOscProcess_h 1
43
44#include "globals.hh"
45#include "G4VDiscreteProcess.hh"
46
48
50{
51public:
52
53 G4NuVacOscProcess(const G4String& anEnvelopeName,
54 const G4String& procName = "nuVacOscillation");
55
56 ~G4NuVacOscProcess() override = default;
57
58 void InitParameters();
59
60 G4double GetMeanFreePath(const G4Track &aTrack, G4double, G4ForceCondition *) override;
61
62 G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep) override;
63
65
66 void ProcessDescription(std::ostream& outFile) const override;
67
68 // set internal limit
69 void SetLowestEnergy(G4double e) { fLowestEnergy = e; }
70
72 if(bf > 1.0) { fNuNuclTotXscBias = bf; fBiased = true; }
73 }
74
75 // hide assignment operator as private
78
79private:
80
81 G4bool fBiased{false};
82 G4bool fAnti{false};
83 G4bool fNormOrd{true};
84
85 G4String fEnvelopeName;
86
87 G4double fLowestEnergy;
88 G4double fNuNuclTotXscBias {1.0};
89
90 G4double fSin2t12, fSin2t23, fSin2t13;
91 G4double fDsm21, fDsm32, fdcp;
92
93 G4complex fUdcp[3][3]; // vacuum PMNS matrix, Dirac nu, CP delta13
94 G4double fDms[3][3]; // dm2 matrix,
95 // involved oscillationg paricles
96 G4ParticleDefinition* theNuE;
97 G4ParticleDefinition* theAntiNuE;
98 G4ParticleDefinition* theNuMu;
99 G4ParticleDefinition* theAntiNuMu;
100 G4ParticleDefinition* theNuTau;
101 G4ParticleDefinition* theAntiNuTau;
102};
103
104#endif
G4ForceCondition
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
std::complex< G4double > G4complex
Definition G4Types.hh:88
int G4int
Definition G4Types.hh:85
G4NuVacOscProcess(const G4NuVacOscProcess &)=delete
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) override
G4NuVacOscProcess(const G4String &anEnvelopeName, const G4String &procName="nuVacOscillation")
~G4NuVacOscProcess() override=default
void SetLowestEnergy(G4double e)
G4int NuVacProbability(G4int aa, G4double Enu, G4double Lnu)
G4double GetMeanFreePath(const G4Track &aTrack, G4double, G4ForceCondition *) override
void SetBiasingFactor(G4double bf)
G4NuVacOscProcess & operator=(const G4NuVacOscProcess &right)=delete
void ProcessDescription(std::ostream &outFile) const override