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
!21514
TBMonitoring: Remove MT-unsafe uses of CaloIdManager.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
TBMonitoring: Remove MT-unsafe uses of CaloIdManager.
ssnyder/athena:caloIdManager.TBMonitoring-20190228
into
master
Overview
2
Commits
1
Pipelines
1
Changes
2
Merged
Scott Snyder
requested to merge
ssnyder/athena:caloIdManager.TBMonitoring-20190228
into
master
6 years ago
Overview
2
Commits
1
Pipelines
1
Changes
2
Expand
Remove MT-unsafe uses of CaloIdManager.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
a1507ac6
1 commit,
6 years ago
2 files
+
2
−
23
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
TestBeam/TBMonitoring/src/TBCaloResponseMonTool.cxx
+
2
−
22
Options
/*
Copyright (C) 2002-201
7
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-201
9
CERN for the benefit of the ATLAS collaboration
*/
@@ -17,7 +17,6 @@
#include
"StoreGate/StoreGateSvc.h"
#include
"CaloIdentifier/CaloCell_ID.h"
#include
"CaloIdentifier/CaloIdManager.h"
#include
"CaloEvent/CaloCell.h"
#include
"CaloEvent/CaloCellContainer.h"
@@ -308,27 +307,8 @@ StatusCode TBCaloResponseMonTool::setupAction()
// messaging
MsgStream
report
(
msgSvc
(),
name
());
// get calo cell helper
const
CaloIdManager
*
idManager
=
CaloIdManager
::
instance
();
// problem
if
(
idManager
==
0
)
{
report
<<
MSG
::
ERROR
<<
"cannot allocate CaloCell Id manager object"
<<
endmsg
;
return
StatusCode
::
FAILURE
;
}
// get cell id helper
m_caloCellHelper
=
idManager
->
getCaloCell_ID
();
// check
if
(
m_caloCellHelper
==
0
)
{
report
<<
MSG
::
ERROR
<<
"cannot allocate CaloCell_ID helper"
<<
endmsg
;
return
StatusCode
::
FAILURE
;
}
ATH_CHECK
(
detStore
()
->
retrieve
(
m_caloCellHelper
,
"CaloCell_ID"
)
);
// get calorimeter modules and regions
std
::
vector
<
std
::
string
>::
const_iterator
firstCalo
=
Loading