Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
atlas
athena
Merge requests
!29086
modification of charge for fractional charged particles
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
modification of charge for fractional charged particles
quli/athena:fcp_TRT
into
21.0
Overview
5
Commits
1
Pipelines
1
Changes
1
Merged
Quanyin Li
requested to merge
quli/athena:fcp_TRT
into
21.0
5 years ago
Overview
5
Commits
1
Pipelines
1
Changes
1
Expand
Modify the charge dependence of TRT for fractional charged particles
0
0
Merge request reports
Compare
21.0
21.0 (base)
and
latest version
latest version
fdc447ba
1 commit,
5 years ago
1 file
+
4
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
InnerDetector/InDetDigitization/TRT_Digitization/src/TRTProcessingOfStraw.cxx
+
4
−
0
Options
@@ -485,6 +485,10 @@ void TRTProcessingOfStraw::ProcessStraw ( hitCollConstIter i,
{
particleCharge
=
(
particleEncoding
>
0
?
1.
:
-
1.
)
*
(((
abs
(
particleEncoding
)
/
100000.0
)
-
100.0
)
*
1000.0
);
}
else
if
((
static_cast
<
int
>
(
abs
(
particleEncoding
)
/
10000000
)
==
2
)
&&
(
static_cast
<
int
>
(
abs
(
particleEncoding
)
/
100000
)
==
200
))
{
particleCharge
=
(
particleEncoding
>
0
?
1.
:
-
1.
)
*
((
double
)((
abs
(
particleEncoding
)
/
1000
)
%
100
)
/
(
double
)((
abs
(
particleEncoding
)
/
10
)
%
100
));
}
}
else
{
Loading