GENIEGenerator
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Physics
Coherent
XSection
ARConstants.cxx
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*
3
Copyright (c) 2003-2024, The GENIE Collaboration
4
For the full text of the license visit http://copyright.genie-mc.org
5
6
Daniel Scully ( d.i.scully \at warwick.ac.uk)
7
University of Warwick
8
*/
9
//____________________________________________________________________________
10
11
#include <TMath.h>
12
#include <iostream>
13
#include "
Framework/Conventions/Constants.h
"
14
15
#include "
Framework/Algorithm/AlgConfigPool.h
"
16
#include "
Framework/ParticleData/PDGLibrary.h
"
17
#include "
Framework/ParticleData/PDGCodes.h
"
18
#include "
Physics/Coherent/XSection/ARConstants.h
"
19
20
namespace
genie {
21
namespace
alvarezruso {
22
23
24
ARConstants::ARConstants
() {
25
26
27
COHAR_Ma_Nuc
= 1.000 ;
28
COHAR_Mv_Nuc
= 0.840 ;
29
COHAR_Ma_Delta
= 1.280 ;
30
COHAR_Mv_Delta
= 0.730 ;
31
COHAR_GA0
= 1.2670 ;
32
COHAR_Rho0
= 0.17 ;
33
COHAR_a4
= -1.21 ;
34
COHAR_a5
= -1.21 ;
35
COHAR_b4
= 2.0 ;
36
COHAR_b5
= 2.0 ;
37
COHAR_fPi_byHbar
= 0.093 /
HBar
();
38
COHAR_fStar
= 2.13 ;
39
fCosCabibboAngle
= TMath::Cos( 0.22853207 ) ;
40
fSinWeinbergAngle
= TMath::Sin( 0.49744211 ) ;
41
42
massElectron
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgElectron
)->Mass() /
HBar
();
43
massMuon
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgMuon
)->Mass() /
HBar
();
44
massTau
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgTau
)->Mass() /
HBar
();
45
massProton
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgProton
)->Mass() /
HBar
();
46
massNeutron
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgNeutron
)->Mass() /
HBar
();
47
massNucleon
= (
massProton
+
massNeutron
)/2.0;
48
massNucleon2
=
massNucleon
*
massNucleon
;
49
massDeltaP
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgP33m1232_DeltaP
)->Mass() /
HBar
();
50
massDelta0
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgP33m1232_Delta0
)->Mass() /
HBar
();
51
massPiP
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgPiP
)->Mass() /
HBar
();
52
massPi0
=
genie::PDGLibrary::Instance
()->
Find
(
genie::kPdgPi0
)->Mass() /
HBar
();
53
54
ncFactor
= 1.0 - 2.0*
fSinWeinbergAngle
*
fSinWeinbergAngle
;
55
}
56
57
ARConstants::~ARConstants
() {
58
}
59
60
double
ARConstants::HBar
() {
61
// Alvarez-Ruso model is expressed in units of fermi. Need a
62
// conversion from GeV to fm for energy variables.
63
return
0.19733;
64
}
65
double
ARConstants::Ma_Nucleon
() {
66
return
COHAR_Ma_Nuc
;
67
}
68
double
ARConstants::Mv_Nucleon
() {
69
return
COHAR_Mv_Nuc
;
70
}
71
double
ARConstants::Ma_Delta
() {
72
return
COHAR_Ma_Delta
;
73
}
74
double
ARConstants::Mv_Delta
() {
75
return
COHAR_Mv_Delta
;
76
}
77
double
ARConstants::GAxial
() {
78
return
COHAR_GA0
;
79
}
80
double
ARConstants::Rho0
() {
81
return
COHAR_Rho0
;
82
}
83
double
ARConstants::CA4_A
() {
84
return
COHAR_a4
;
85
}
86
double
ARConstants::CA5_A
() {
87
return
COHAR_a5
;
88
}
89
double
ARConstants::CA4_B
() {
90
return
COHAR_b4
;
91
}
92
double
ARConstants::CA5_B
() {
93
return
COHAR_b5
;
94
}
95
double
ARConstants::PiDecayConst
() {
96
return
COHAR_fPi_byHbar
;
97
}
98
double
ARConstants::DeltaNCoupling
() {
99
return
COHAR_fStar
;
100
}
101
double
ARConstants::CosCabibboAngle
() {
102
return
fCosCabibboAngle
;
103
}
104
double
ARConstants::SinWeinbergAngle
() {
105
return
fSinWeinbergAngle
;
106
}
107
double
ARConstants::GFermi
() {
108
return
(
genie::constants::kGF
*
HBar
() *
HBar
());
109
}
110
double
ARConstants::ElectronMass
() {
111
return
massElectron
;
112
}
113
double
ARConstants::MuonMass
() {
114
return
massMuon
;
115
}
116
double
ARConstants::TauMass
() {
117
return
massTau
;
118
}
119
double
ARConstants::ProtonMass
() {
120
return
massProton
;
121
}
122
double
ARConstants::NeutronMass
() {
123
return
massNeutron
;
124
}
125
double
ARConstants::NucleonMass
() {
126
return
massNucleon
;
127
}
128
double
ARConstants::NucleonMassSq
() {
129
return
massNucleon2
;
130
}
131
double
ARConstants::DeltaPMass
() {
132
return
massDeltaP
;
133
}
134
double
ARConstants::Delta0Mass
() {
135
return
massDelta0
;
136
}
137
double
ARConstants::PiPMass
() {
138
return
massPiP
;
139
}
140
double
ARConstants::Pi0Mass
() {
141
return
massPi0
;
142
}
143
double
ARConstants::cm38Conversion
() {
144
return
1E12;
145
}
146
147
double
ARConstants::NCFactor
() {
148
return
ncFactor
;
149
}
150
151
}
//namespace alvarezruso
152
153
}
//namespace genie
genie::alvarezruso::ARConstants::COHAR_fStar
double COHAR_fStar
Definition:
ARConstants.h:80
genie::alvarezruso::ARConstants::massNeutron
double massNeutron
Definition:
ARConstants.h:88
genie::alvarezruso::ARConstants::CA4_B
double CA4_B()
Definition:
ARConstants.cxx:89
genie::alvarezruso::ARConstants::DeltaNCoupling
double DeltaNCoupling()
Definition:
ARConstants.cxx:98
genie::alvarezruso::ARConstants::massProton
double massProton
Definition:
ARConstants.h:87
genie::alvarezruso::ARConstants::COHAR_b4
double COHAR_b4
Definition:
ARConstants.h:77
ARConstants.h
genie::alvarezruso::ARConstants::ARConstants
ARConstants()
Definition:
ARConstants.cxx:24
genie::alvarezruso::ARConstants::fCosCabibboAngle
double fCosCabibboAngle
Definition:
ARConstants.h:81
genie::alvarezruso::ARConstants::massElectron
double massElectron
Definition:
ARConstants.h:84
genie::alvarezruso::ARConstants::GAxial
double GAxial()
Definition:
ARConstants.cxx:77
genie::alvarezruso::ARConstants::~ARConstants
~ARConstants()
Definition:
ARConstants.cxx:57
genie::alvarezruso::ARConstants::massNucleon
double massNucleon
Definition:
ARConstants.h:89
genie::alvarezruso::ARConstants::COHAR_fPi_byHbar
double COHAR_fPi_byHbar
Definition:
ARConstants.h:79
genie::alvarezruso::ARConstants::massMuon
double massMuon
Definition:
ARConstants.h:85
genie::alvarezruso::ARConstants::COHAR_GA0
double COHAR_GA0
Definition:
ARConstants.h:73
genie::alvarezruso::ARConstants::massPiP
double massPiP
Definition:
ARConstants.h:93
genie::alvarezruso::ARConstants::SinWeinbergAngle
double SinWeinbergAngle()
Definition:
ARConstants.cxx:104
genie::alvarezruso::ARConstants::CA4_A
double CA4_A()
Definition:
ARConstants.cxx:83
Constants.h
genie::kPdgElectron
const int kPdgElectron
Definition:
PDGCodes.h:35
AlgConfigPool.h
genie::alvarezruso::ARConstants::CA5_B
double CA5_B()
Definition:
ARConstants.cxx:92
genie::alvarezruso::ARConstants::ElectronMass
double ElectronMass()
Definition:
ARConstants.cxx:110
genie::alvarezruso::ARConstants::massTau
double massTau
Definition:
ARConstants.h:86
genie::kPdgP33m1232_DeltaP
const int kPdgP33m1232_DeltaP
Definition:
PDGCodes.h:106
genie::alvarezruso::ARConstants::Ma_Nucleon
double Ma_Nucleon()
Definition:
ARConstants.cxx:65
genie::alvarezruso::ARConstants::massDelta0
double massDelta0
Definition:
ARConstants.h:92
genie::kPdgTau
const int kPdgTau
Definition:
PDGCodes.h:39
genie::alvarezruso::ARConstants::COHAR_Rho0
double COHAR_Rho0
Definition:
ARConstants.h:74
genie::alvarezruso::ARConstants::COHAR_Ma_Nuc
double COHAR_Ma_Nuc
Definition:
ARConstants.h:69
genie::alvarezruso::ARConstants::DeltaPMass
double DeltaPMass()
Definition:
ARConstants.cxx:131
genie::alvarezruso::ARConstants::massNucleon2
double massNucleon2
Definition:
ARConstants.h:90
genie::alvarezruso::ARConstants::massDeltaP
double massDeltaP
Definition:
ARConstants.h:91
genie::alvarezruso::ARConstants::GFermi
double GFermi()
Definition:
ARConstants.cxx:107
genie::alvarezruso::ARConstants::COHAR_b5
double COHAR_b5
Definition:
ARConstants.h:78
genie::kPdgPiP
const int kPdgPiP
Definition:
PDGCodes.h:158
genie::kPdgPi0
const int kPdgPi0
Definition:
PDGCodes.h:160
genie::alvarezruso::ARConstants::MuonMass
double MuonMass()
Definition:
ARConstants.cxx:113
genie::constants::kGF
static const double kGF
Definition:
Framework/Conventions/Constants.h:58
genie::alvarezruso::ARConstants::PiDecayConst
double PiDecayConst()
Definition:
ARConstants.cxx:95
genie::alvarezruso::ARConstants::cm38Conversion
double cm38Conversion()
Definition:
ARConstants.cxx:143
genie::kPdgP33m1232_Delta0
const int kPdgP33m1232_Delta0
Definition:
PDGCodes.h:105
genie::alvarezruso::ARConstants::HBar
double HBar()
Definition:
ARConstants.cxx:60
genie::alvarezruso::ARConstants::Mv_Nucleon
double Mv_Nucleon()
Definition:
ARConstants.cxx:68
genie::alvarezruso::ARConstants::Pi0Mass
double Pi0Mass()
Definition:
ARConstants.cxx:140
genie::alvarezruso::ARConstants::COHAR_Mv_Delta
double COHAR_Mv_Delta
Definition:
ARConstants.h:72
genie::PDGLibrary::Instance
static PDGLibrary * Instance(void)
Definition:
PDGLibrary.cxx:68
genie::alvarezruso::ARConstants::fSinWeinbergAngle
double fSinWeinbergAngle
Definition:
ARConstants.h:82
PDGLibrary.h
genie::alvarezruso::ARConstants::NucleonMassSq
double NucleonMassSq()
Definition:
ARConstants.cxx:128
genie::alvarezruso::ARConstants::COHAR_a5
double COHAR_a5
Definition:
ARConstants.h:76
genie::alvarezruso::ARConstants::NCFactor
double NCFactor()
Definition:
ARConstants.cxx:147
genie::alvarezruso::ARConstants::Mv_Delta
double Mv_Delta()
Definition:
ARConstants.cxx:74
genie::alvarezruso::ARConstants::Rho0
double Rho0()
Definition:
ARConstants.cxx:80
genie::alvarezruso::ARConstants::CosCabibboAngle
double CosCabibboAngle()
Definition:
ARConstants.cxx:101
genie::alvarezruso::ARConstants::COHAR_a4
double COHAR_a4
Definition:
ARConstants.h:75
genie::alvarezruso::ARConstants::NucleonMass
double NucleonMass()
Definition:
ARConstants.cxx:125
genie::alvarezruso::ARConstants::CA5_A
double CA5_A()
Definition:
ARConstants.cxx:86
genie::alvarezruso::ARConstants::massPi0
double massPi0
Definition:
ARConstants.h:94
genie::alvarezruso::ARConstants::ProtonMass
double ProtonMass()
Definition:
ARConstants.cxx:119
genie::alvarezruso::ARConstants::Delta0Mass
double Delta0Mass()
Definition:
ARConstants.cxx:134
genie::kPdgProton
const int kPdgProton
Definition:
PDGCodes.h:81
genie::PDGLibrary::Find
TParticlePDG * Find(int pdgc, bool must_exist=true)
Definition:
PDGLibrary.cxx:86
genie::alvarezruso::ARConstants::PiPMass
double PiPMass()
Definition:
ARConstants.cxx:137
genie::kPdgMuon
const int kPdgMuon
Definition:
PDGCodes.h:37
genie::alvarezruso::ARConstants::TauMass
double TauMass()
Definition:
ARConstants.cxx:116
genie::alvarezruso::ARConstants::ncFactor
double ncFactor
Definition:
ARConstants.h:96
genie::kPdgNeutron
const int kPdgNeutron
Definition:
PDGCodes.h:83
PDGCodes.h
Most commonly used PDG codes. A set of utility functions to handle PDG codes is provided in PDGUtils...
genie::alvarezruso::ARConstants::NeutronMass
double NeutronMass()
Definition:
ARConstants.cxx:122
genie::alvarezruso::ARConstants::COHAR_Ma_Delta
double COHAR_Ma_Delta
Definition:
ARConstants.h:71
genie::alvarezruso::ARConstants::Ma_Delta
double Ma_Delta()
Definition:
ARConstants.cxx:71
genie::alvarezruso::ARConstants::COHAR_Mv_Nuc
double COHAR_Mv_Nuc
Definition:
ARConstants.h:70
Generated on Wed Jul 17 2024 14:46:38 for GENIEGenerator by
1.8.5