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
Peter Sherwood
athena
Commits
cbdd80be
Commit
cbdd80be
authored
4 years ago
by
Yohei Yamaguchi
Browse files
Options
Downloads
Patches
Plain Diff
protect for events not containing NSW
parent
354ad7ac
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Trigger/TrigAlgorithms/TrigL2MuonSA/src/MmDataPreparator.cxx
+5
-2
5 additions, 2 deletions
Trigger/TrigAlgorithms/TrigL2MuonSA/src/MmDataPreparator.cxx
Trigger/TrigAlgorithms/TrigL2MuonSA/src/StgcDataPreparator.cxx
+5
-2
5 additions, 2 deletions
...er/TrigAlgorithms/TrigL2MuonSA/src/StgcDataPreparator.cxx
with
10 additions
and
4 deletions
Trigger/TrigAlgorithms/TrigL2MuonSA/src/MmDataPreparator.cxx
+
5
−
2
View file @
cbdd80be
...
...
@@ -61,15 +61,18 @@ StatusCode TrigL2MuonSA::MmDataPreparator::prepareData(const TrigRoiDescriptor*
std
::
vector
<
IdentifierHash
>
mmHashList_cache
;
// Get MM container
const
Muon
::
MMPrepDataContainer
*
mmPrds
;
if
(
m_mmPrepContainerKey
.
empty
())
{
ATH_MSG_INFO
(
"no mmPrepContainerKey"
);
return
StatusCode
::
SUCCESS
;
}
auto
mmPrepContainerHandle
=
SG
::
makeHandle
(
m_mmPrepContainerKey
);
mmPrds
=
mmPrepContainerHandle
.
cptr
();
if
(
!
mmPrepContainerHandle
.
isValid
())
{
ATH_MSG_ERROR
(
"Cannot retrieve MM PRD Container key: "
<<
m_mmPrepContainerKey
.
key
());
return
StatusCode
::
FAILURE
;
}
else
{
ATH_MSG_DEBUG
(
"MM PRD Container retrieved with key: "
<<
m_mmPrepContainerKey
.
key
());
}
const
Muon
::
MMPrepDataContainer
*
mmPrds
=
mmPrepContainerHandle
.
cptr
();
if
(
m_use_RoIBasedDataAccess
)
{
// ATH_MSG_ERROR("RoI based data access is not available yet");
...
...
This diff is collapsed.
Click to expand it.
Trigger/TrigAlgorithms/TrigL2MuonSA/src/StgcDataPreparator.cxx
+
5
−
2
View file @
cbdd80be
...
...
@@ -61,15 +61,18 @@ StatusCode TrigL2MuonSA::StgcDataPreparator::prepareData(const TrigRoiDescriptor
std
::
vector
<
IdentifierHash
>
stgcHashList_cache
;
// Get sTGC container
const
Muon
::
sTgcPrepDataContainer
*
stgcPrds
;
if
(
m_stgcPrepContainerKey
.
empty
())
{
ATH_MSG_INFO
(
"no stgcPrepContainerKey"
);
return
StatusCode
::
SUCCESS
;
}
auto
stgcPrepContainerHandle
=
SG
::
makeHandle
(
m_stgcPrepContainerKey
);
stgcPrds
=
stgcPrepContainerHandle
.
cptr
();
if
(
!
stgcPrepContainerHandle
.
isValid
())
{
ATH_MSG_ERROR
(
"Cannot retrieve sTgc PRD Container key: "
<<
m_stgcPrepContainerKey
.
key
());
return
StatusCode
::
FAILURE
;
}
else
{
ATH_MSG_DEBUG
(
"sTgc PRD Container retrieved with key: "
<<
m_stgcPrepContainerKey
.
key
());
}
const
Muon
::
sTgcPrepDataContainer
*
stgcPrds
=
stgcPrepContainerHandle
.
cptr
();
if
(
m_use_RoIBasedDataAccess
)
{
// ATH_MSG_ERROR("RoI based data access is not available yet");
...
...
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