Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Beojan Stanislaus
athena
Commits
de270331
Verified
Commit
de270331
authored
3 years ago
by
Tadej Novak
Browse files
Options
Downloads
Patches
Plain Diff
Fix a minor leak in TRT_SimDriftTimeTool
parent
2692a10d
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
InnerDetector/InDetDigitization/TRT_Digitization/src/TRT_SimDriftTimeTool.cxx
+5
-5
5 additions, 5 deletions
...igitization/TRT_Digitization/src/TRT_SimDriftTimeTool.cxx
with
5 additions
and
5 deletions
InnerDetector/InDetDigitization/TRT_Digitization/src/TRT_SimDriftTimeTool.cxx
+
5
−
5
View file @
de270331
/*
Copyright (C) 2002-201
7
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
2
1 CERN for the benefit of the ATLAS collaboration
*/
////////////////////////////////////
...
...
@@ -71,10 +71,10 @@ StatusCode TRT_SimDriftTimeTool::initialize()
/////////////////////////////////////////////////////
/////////////////////////////////////////////////////
std
::
vector
<
ITRT_DriftTimeData
*
>
pDTData
;
pDTData
.
push_back
(
new
TRT_BarrelDriftTimeData
(
m_digversion
,
0
));
// Xe straws
pDTData
.
push_back
(
new
TRT_BarrelDriftTimeData
(
m_digversion
,
1
));
// Kr straws
pDTData
.
push_back
(
new
TRT_BarrelDriftTimeData
(
m_digversion
,
2
));
// Ar straws
std
::
vector
<
std
::
unique_ptr
<
ITRT_DriftTimeData
>
>
pDTData
;
pDTData
.
emplace_back
(
std
::
make_unique
<
TRT_BarrelDriftTimeData
>
(
m_digversion
,
0
));
// Xe straws
pDTData
.
emplace_back
(
std
::
make_unique
<
TRT_BarrelDriftTimeData
>
(
m_digversion
,
1
));
// Kr straws
pDTData
.
emplace_back
(
std
::
make_unique
<
TRT_BarrelDriftTimeData
>
(
m_digversion
,
2
));
// Ar straws
/////////////////////////////////////////////////////
/////////////////////////////////////////////////////
...
...
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