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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Lawrence Davou Christopher
athena
Commits
a7fa533f
Commit
a7fa533f
authored
6 years ago
by
lawrenceleejr
Browse files
Options
Downloads
Patches
Plain Diff
G4ExternalDecay: Making some variable names clearer in P8 setup
Former-commit-id: 94f1ff50c4ae55488d19a064ae07214eb76db2ca
parent
4ecc1c68
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Simulation/G4Extensions/G4ExternalDecay/src/Pythia8ForDecays.cxx
+3
-3
3 additions, 3 deletions
...ion/G4Extensions/G4ExternalDecay/src/Pythia8ForDecays.cxx
with
3 additions
and
3 deletions
Simulation/G4Extensions/G4ExternalDecay/src/Pythia8ForDecays.cxx
+
3
−
3
View file @
a7fa533f
...
...
@@ -164,11 +164,11 @@ void Pythia8ForDecays::fillParticle(const G4Track& aTrack, Pythia8::Event& event
bool
Pythia8ForDecays
::
isGluinoRHadron
(
int
pdgId
)
const
{
// Checking what kind of RHadron this is based on the digits in its PDGID
const
unsigned
short
q1
=
MCUtils
::
PID
::
_digit
(
MCUtils
::
PID
::
Location
::
nq1
,
pdgId
);
const
unsigned
short
q
l
=
MCUtils
::
PID
::
_digit
(
MCUtils
::
PID
::
Location
::
nl
,
pdgId
);
const
unsigned
short
digitValue_
q1
=
MCUtils
::
PID
::
_digit
(
MCUtils
::
PID
::
Location
::
nq1
,
pdgId
);
const
unsigned
short
digitValue_
l
=
MCUtils
::
PID
::
_digit
(
MCUtils
::
PID
::
Location
::
nl
,
pdgId
);
// Gluino R-Hadrons have the form 109xxxx or 1009xxx
if
((
q1
==
0
&&
ql
==
9
)
||
q1
==
9
){
if
((
digitValue_q1
==
0
&&
digitValue_l
==
9
)
||
digitValue_
q1
==
9
){
// This is a gluino R-Hadron
return
true
;
}
...
...
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