Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xfitter
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
18
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fitters
xfitter
Merge requests
!245
Cleanup2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Cleanup2
cleanup2
into
master
Overview
0
Commits
9
Pipelines
5
Changes
114
Merged
Alexander Glazov
requested to merge
cleanup2
into
master
3 years ago
Overview
0
Commits
9
Pipelines
5
Changes
114
Expand
Update examples to remove obsolete/not used/irrelevant parts of steering files.
Clean README file
Edited
3 years ago
by
Alexander Glazov
👍
0
👎
0
Merge request reports
Compare
master
version 4
681c362d
3 years ago
version 3
8d933716
3 years ago
version 2
4445703c
3 years ago
version 1
05dc396b
3 years ago
master (base)
and
latest version
latest version
96513bcb
9 commits,
3 years ago
version 4
681c362d
8 commits,
3 years ago
version 3
8d933716
7 commits,
3 years ago
version 2
4445703c
5 commits,
3 years ago
version 1
05dc396b
4 commits,
3 years ago
114 files
+
3392
−
21609
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
114
Search (e.g. *.vue) (Ctrl+P)
evolutions/APFEL/APFEL_Evol.cc
+
6
−
3
Options
@@ -10,14 +10,17 @@
#include
<algorithm>
// Global var to hold current pdfDecomposition
xfitter
::
BasePdfDecomposition
*
gPdfDecomp
;
xfitter
::
BasePdfDecomposition
*
gPdfDecomp
=
nullptr
;
// Global photon or not PDF
bool
gQCDevol
;
// wraper for APFEL PDF function:
extern
"C"
void
externalsetapfel
1
_
(
double
&
x
,
double
&
Q
,
double
*
xf
)
extern
"C"
void
externalsetapfel_
(
double
&
x
,
double
&
Q
,
double
*
xf
)
{
if
(
gPdfDecomp
==
nullptr
)
{
hf_errlog
(
21122902
,
"F:APFELff PDF decomposition is not set, can not compute PDFs"
);
}
// xf is from -6 to +6 (or +7),
for
(
int
i
=
0
;
i
<=
12
;
i
++
)
{
@@ -248,7 +251,7 @@ void APFEL_Evol::atStart()
// Initialize the APFEL DIS module
APFEL
::
InitializeAPFEL_DIS
();
APFEL
::
SetPDFSet
(
"external
1
"
);
APFEL
::
SetPDFSet
(
"external"
);
gPdfDecomp
=
XFITTER_PARS
::
getInputDecomposition
(
_yAPFEL
);
BaseEvolution
::
atStart
();
}
Loading