Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
partons
core
partons-example
Commits
b3fd255c
Commit
b3fd255c
authored
Jul 24, 2017
by
Pawel Sznajder
Browse files
Propagate renaming of modules partons/core/partons#13
parent
07fe90c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/examples.cpp
View file @
b3fd255c
...
...
@@ -9,10 +9,10 @@
#include
<partons/beans/observable/ObservableKinematic.h>
#include
<partons/beans/observable/ObservableResult.h>
#include
<partons/beans/PerturbativeQCDOrderType.h>
#include
<partons/modules/convol_coeff_function/DVCS/DVCSCFF
Model
.h>
#include
<partons/modules/gpd/MMS13
Model
.h>
#include
<partons/modules/observable/
Alu
.h>
#include
<partons/modules/process/DVCS/
GV2008Model
.h>
#include
<partons/modules/convol_coeff_function/DVCS/DVCSCFF
Standard
.h>
#include
<partons/modules/gpd/
GPD
MMS13.h>
#include
<partons/modules/observable/
DVCS/asymmetry/DVCSAluMinus
.h>
#include
<partons/modules/process/DVCS/
DVCSProcessGV08
.h>
#include
<partons/ModuleObjectFactory.h>
#include
<partons/Partons.h>
#include
<partons/services/ConvolCoeffFunctionService.h>
...
...
@@ -28,7 +28,7 @@ void computeOneGPDModel() {
// Create GPD module with the BaseModuleFactory
GPDModule
*
pGPDModel
=
Partons
::
getInstance
()
->
getModuleObjectFactory
()
->
newGPDModule
(
MMS13
Model
::
classId
);
GPD
MMS13
::
classId
);
// Create a GPDKinematic(x, xi, t, MuF, MuR) to compute
GPDKinematic
gpdKinematic
(
-
0.99
,
0.99
,
0.
,
1.
,
1.
);
...
...
@@ -53,12 +53,12 @@ void computeOneComptonFormFactor() {
// Create GPD module with the BaseModuleFactory
GPDModule
*
pGPDModule
=
Partons
::
getInstance
()
->
getModuleObjectFactory
()
->
newGPDModule
(
MMS13
Model
::
classId
);
GPD
MMS13
::
classId
);
// Create CFF module with the BaseModuleFactory
DVCSConvolCoeffFunctionModule
*
pDVCSCFFModule
=
Partons
::
getInstance
()
->
getModuleObjectFactory
()
->
newDVCSConvolCoeffFunctionModule
(
DVCSCFF
Model
::
classId
);
DVCSCFF
Standard
::
classId
);
// Create parameters to configure later DVCSCFFModel with PerturbativeQCD = LO
ElemUtils
::
Parameters
parameters
(
...
...
@@ -104,17 +104,17 @@ void computeOneDVCSObservableManyKinematics() {
// Create Observable
Observable
*
pObservable
=
Partons
::
getInstance
()
->
getModuleObjectFactory
()
->
newObservable
(
Alu
::
classId
);
DVCSAluMinus
::
classId
);
// Create ProcessModule
DVCSModule
*
pProcessModule
=
Partons
::
getInstance
()
->
getModuleObjectFactory
()
->
newDVCSModule
(
GV2008Model
::
classId
);
DVCSProcessGV08
::
classId
);
// Create CFF module
DVCSConvolCoeffFunctionModule
*
pDVCSCFFModel
=
Partons
::
getInstance
()
->
getModuleObjectFactory
()
->
newDVCSConvolCoeffFunctionModule
(
DVCSCFF
Model
::
classId
);
DVCSCFF
Standard
::
classId
);
// Set its PerturbativeQCDOrder
ElemUtils
::
Parameters
dvcsConvolCoeffFunctionParameters
;
...
...
@@ -128,7 +128,7 @@ void computeOneDVCSObservableManyKinematics() {
// Create GPDModule
GPDModule
*
pGPDModule
=
Partons
::
getInstance
()
->
getModuleObjectFactory
()
->
newGPDModule
(
MMS13
Model
::
classId
);
GPD
MMS13
::
classId
);
// Link module to each other
pObservable
->
setProcessModule
(
pProcessModule
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment