Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Claire Antel
athena
Commits
90083321
Commit
90083321
authored
6 years ago
by
Ewelina Maria Lobodzinska
Browse files
Options
Downloads
Patches
Plain Diff
update UserPhotonFlux in Pythia8_i according to AGENE-1662
parent
7e3b5c8e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Generators/Pythia8_i/src/Pythia8Custom/UserPhotonFlux.cxx
+7
-2
7 additions, 2 deletions
Generators/Pythia8_i/src/Pythia8Custom/UserPhotonFlux.cxx
with
7 additions
and
2 deletions
Generators/Pythia8_i/src/Pythia8Custom/UserPhotonFlux.cxx
+
7
−
2
View file @
90083321
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
#include
"UserPhotonFlux.h"
UserPhotonFlux
::
UserPhotonFlux
(
const
std
::
string
&
type
,
const
std
::
string
&
name
,
const
IInterface
*
parent
)
:
...
...
@@ -24,13 +27,15 @@
pythia
.
setPhotonFluxPtr
(
photonFlux
,
0
);
return
StatusCode
::
SUCCESS
;
}
else
if
(
m_process
==
2
)
{
else
if
(
m_process
==
2
||
m_process
==
3
)
{
ATH_MSG_INFO
(
"InitializePythiaInfo "
<<
name
()
<<
" using nuclear photon flux with Z = "
<<
m_flux_Z
<<
", bmin = "
<<
m_flux_min_b
);
Nucleus2gamma
*
photonFlux
=
new
Nucleus2gamma
(
-
11
);
photonFlux
->
setZ
(
m_flux_Z
);
photonFlux
->
setMinB
(
m_flux_min_b
);
photonFlux
->
setMinX
(
m_flux_min_x
);
pythia
.
setPhotonFluxPtr
(
photonFlux
,
0
);
Nucleus2gamma
*
photonFlux2
=
nullptr
;
if
(
m_process
==
3
)
photonFlux2
=
photonFlux
;
pythia
.
setPhotonFluxPtr
(
photonFlux
,
photonFlux2
);
return
StatusCode
::
SUCCESS
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment