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
Commits
654a3ad7
Commit
654a3ad7
authored
2 months ago
by
Rui Wang
Browse files
Options
Downloads
Patches
Plain Diff
Remove the skipping of 0 hit write to the SG in WriteHits
parent
1c90e870
No related branches found
No related tags found
1 merge request
!76756
Include write of 0 SiHit events
Pipeline
#9618052
passed
2 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Simulation/ISF/ISF_Acts/ISF_ActsTools/src/ActsFatrasWriteHandler.cxx
+3
-6
3 additions, 6 deletions
...ISF/ISF_Acts/ISF_ActsTools/src/ActsFatrasWriteHandler.cxx
with
3 additions
and
6 deletions
Simulation/ISF/ISF_Acts/ISF_ActsTools/src/ActsFatrasWriteHandler.cxx
+
3
−
6
View file @
654a3ad7
...
...
@@ -43,12 +43,9 @@ StatusCode ActsFatrasWriteHandler::WriteHits(std::vector<SiHitCollection>& HitCo
{
auto
HitsWriteHandles
=
m_HitCollectionKeys
.
makeHandles
(
ctx
);
for
(
long
unsigned
int
i
=
0
;
i
<
HitCollections
.
size
();
++
i
){
if
(
HitCollections
[
i
].
size
()
>
0
){
ATH_MSG_DEBUG
(
name
()
<<
" WriteHits: adding "
<<
m_HitCollectionNames
[
i
]
<<
" "
<<
HitCollections
[
i
].
size
()
<<
" hits"
);
ATH_CHECK
(
HitsWriteHandles
[
i
].
record
(
std
::
make_unique
<
SiHitCollection
>
(
HitCollections
[
i
])));
ATH_MSG_DEBUG
(
name
()
<<
" WriteHits: added "
<<
m_HitCollectionNames
[
i
]
<<
" "
<<
HitCollections
[
i
].
size
()
<<
" hits"
);
}
else
ATH_MSG_VERBOSE
(
name
()
<<
" no "
<<
m_HitCollectionNames
[
i
]
<<
" hits for this event"
<<
ctx
);
ATH_MSG_DEBUG
(
name
()
<<
" WriteHits: adding "
<<
m_HitCollectionNames
[
i
]
<<
" "
<<
HitCollections
[
i
].
size
()
<<
" hits"
);
ATH_CHECK
(
HitsWriteHandles
[
i
].
record
(
std
::
make_unique
<
SiHitCollection
>
(
HitCollections
[
i
])));
ATH_MSG_DEBUG
(
name
()
<<
" WriteHits: added "
<<
m_HitCollectionNames
[
i
]
<<
" "
<<
HitCollections
[
i
].
size
()
<<
" hits"
);
}
return
StatusCode
::
SUCCESS
;
}
...
...
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