ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4NeutrinoNucleusModel.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4NeutrinoNucleusModel.hh
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
// $Id: G4NeutrinoNucleusModel.hh 90228 2015-05-21 08:49:57Z gcosmo $
28
//
29
// Geant4 Header : G4NeutrinoNucleusModel
30
//
31
// Author : V.Grichine 12.2.19
32
//
33
// Modified:
34
//
35
// Class Description
36
// Default model for muon neutrino-nucleus charge current scattering;
37
// Class Description - End
38
39
#ifndef G4NeutrinoNucleusModel_h
40
#define G4NeutrinoNucleusModel_h 1
41
42
#include "
globals.hh
"
43
#include "
G4HadronicInteraction.hh
"
44
#include "
G4HadProjectile.hh
"
45
#include "
G4Nucleus.hh
"
46
#include "
G4NucleiProperties.hh
"
47
#include "
G4LorentzVector.hh
"
48
49
class
G4ParticleDefinition
;
50
class
G4PreCompoundModel
;
51
// class G4CascadeInterface;
52
// class G4BinaryCascade;
53
// class G4TheoFSGenerator;
54
// class G4LundStringFragmentation;
55
// class G4ExcitedStringDecay;
56
// class G4INCLXXInterface;
57
class
G4Nucleus
;
58
class
G4Fragment
;
59
class
G4GeneratorPrecompoundInterface
;
60
class
G4ExcitationHandler
;
61
62
class
G4NeutrinoNucleusModel
:
public
G4HadronicInteraction
63
{
64
public
:
65
66
G4NeutrinoNucleusModel
(
const
G4String
&
name
=
"neutrino-nucleus"
);
67
68
virtual
~G4NeutrinoNucleusModel
();
69
70
virtual
G4bool
IsApplicable
(
const
G4HadProjectile
& aTrack,
71
G4Nucleus
& targetNucleus);
72
73
virtual
G4HadFinalState
*
ApplyYourself
(
const
G4HadProjectile
& aTrack,
74
G4Nucleus
& targetNucleus)=0;
75
77
78
void
ClusterDecay
(
G4LorentzVector
& lvX,
G4int
qX);
79
80
void
MesonDecay
(
G4LorentzVector
& lvX,
G4int
qX);
81
82
void
FinalBarion
(
G4LorentzVector
& lvB,
G4int
qB,
G4int
pdgB);
83
84
void
RecoilDeexcitation
(
G4Fragment
& fragment);
85
86
void
FinalMeson
(
G4LorentzVector
& lvM,
G4int
qM,
G4int
pdgM);
87
88
void
CoherentPion
(
G4LorentzVector
& lvP,
G4int
pdgP,
G4Nucleus
& targetNucleus);
89
90
91
// set/get class fields
92
93
void
SetCutEnergy
(
G4double
ec){
fCutEnergy
=ec;};
94
G4double
GetCutEnergy
(){
return
fCutEnergy
;};
95
96
G4double
GetNuEnergy
(){
return
fNuEnergy
;};
97
G4double
GetQtransfer
(){
return
fQtransfer
;};
98
G4double
GetQ2
(){
return
fQ2
;};
99
G4double
GetXsample
(){
return
fXsample
;};
100
101
G4int
GetPDGencoding
(){
return
fPDGencoding
;};
102
G4bool
GetCascade
(){
return
fCascade
;};
103
G4bool
GetString
(){
return
fString
;};
104
105
G4double
GetCosTheta
(){
return
fCosTheta
;};
106
G4double
GetEmu
(){
return
fEmu
;};
107
G4double
GetEx
(){
return
fEx
;};
108
G4double
GetMuMass
(){
return
fMu
;};
109
G4double
GetW2
(){
return
fW2
;};
110
G4double
GetM1
(){
return
fM1
;};
111
G4double
GetMr
(){
return
fMr
;};
112
G4double
GetTr
(){
return
fTr
;};
113
G4double
GetDp
(){
return
fDp
;};
114
115
G4LorentzVector
GetLVl
(){
return
fLVl
;};
116
G4LorentzVector
GetLVh
(){
return
fLVh
;};
117
G4LorentzVector
GetLVt
(){
return
fLVt
;};
118
G4LorentzVector
GetLVcpi
(){
return
fLVcpi
;};
119
120
G4double
GetMinNuMuEnergy
(){
return
fMu
+ 0.5*
fMu
*
fMu
/
fM1
+ 4.*
CLHEP::MeV
; };
// kinematics + accuracy for sqrts
121
122
G4double
ThresholdEnergy
(
G4double
mI,
G4double
mF,
G4double
mP)
// for cluster decay
123
{
124
G4double
w
= std::sqrt(
fW2
);
125
return
w + 0.5*( (mP+mF)*(mP+mF)-(w+mI)*(w+mI) )/mI;
126
};
127
G4double
FinalMomentum
(
G4double
mI,
G4double
mF,
G4double
mP,
G4LorentzVector
lvX);
// for cluster decay
128
129
// nucleon binding
130
131
G4double
FermiMomentum
(
G4Nucleus
& targetNucleus);
132
G4double
NucleonMomentum
(
G4Nucleus
& targetNucleus);
133
134
G4double
GetEx
(
G4int
A
,
G4bool
fP );
135
G4double
GgSampleNM
(
G4Nucleus
& nucl);
136
137
G4int
GetEnergyIndex
(
G4double
energy
);
138
G4double
GetNuMuQeTotRat
(
G4int
index,
G4double
energy
);
139
140
G4int
GetOnePionIndex
(
G4double
energy
);
141
G4double
GetNuMuOnePionProb
(
G4int
index,
G4double
energy
);
142
143
virtual
void
ModelDescription
(std::ostream&)
const
;
144
145
protected
:
146
147
G4ParticleDefinition
*
theMuonMinus
;
148
G4ParticleDefinition
*
theMuonPlus
;
149
150
G4double
fSin2tW
;
// sin^2theta_Weinberg
151
G4double
fCutEnergy
;
// minimal recoil electron energy detected
152
153
G4int
fNbin
,
fIndex
,
fEindex
,
fXindex
,
fQindex
,
fOnePionIndex
,
fPDGencoding
;
154
G4bool
fCascade
,
fString
,
fProton
,
f2p2h
,
fBreak
;
155
156
G4double
fNuEnergy
,
fQ2
,
fQtransfer
,
fXsample
;
157
158
G4double
fM1
,
fM2
,
fMt
,
fMu
,
fW2
,
fMpi
,
fW2pi
,
fMinNuEnergy
,
fDp
,
fTr
;
159
160
G4double
fEmu
,
fEmuPi
,
fEx
,
fMr
,
fCosTheta
,
fCosThetaPi
;
// final lepton
161
162
G4LorentzVector
fLVh
,
fLVl
,
fLVt
,
fLVcpi
;
163
164
G4GeneratorPrecompoundInterface
*
fPrecoInterface
;
165
G4PreCompoundModel
*
fPreCompound
;
166
G4ExcitationHandler
*
fDeExcitation
;
167
168
169
G4Nucleus
*
fRecoil
;
170
171
static
const
G4int
fResNumber
;
172
static
const
G4double
fResMass
[6];
// [fResNumber];
173
174
static
const
G4int
fClustNumber
;
175
176
static
const
G4double
fMesMass
[4];
177
static
const
G4int
fMesPDG
[4];
178
179
static
const
G4double
fBarMass
[4];
180
static
const
G4int
fBarPDG
[4];
181
182
static
const
G4double
fNuMuResQ
[50][50];
183
184
185
static
const
G4double
fNuMuEnergy
[50];
186
static
const
G4double
fNuMuQeTotRat
[50];
187
static
const
G4double
fOnePionEnergy
[58];
188
static
const
G4double
fOnePionProb
[58];
189
190
};
191
192
193
194
#endif
geant4
tree
geant4-10.6-release
source
processes
hadronic
models
lepto_nuclear
include
G4NeutrinoNucleusModel.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:47
using
1.8.2 with
ECCE GitHub integration