Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
LHCb
LHCb
Commits
dfdeb557
Commit
dfdeb557
authored
5 years ago
by
Niklas Stefan Nolte
Browse files
Options
Downloads
Patches
Plain Diff
mimick incidentsvc
parent
b4285888
No related branches found
No related tags found
No related merge requests found
Pipeline
#1427376
failed
5 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Event/LinkerEvent/src/LinksByKey.cpp
+1
-1
1 addition, 1 deletion
Event/LinkerEvent/src/LinksByKey.cpp
Sim/SimComponents/src/MCReconstructible.h
+5
-4
5 additions, 4 deletions
Sim/SimComponents/src/MCReconstructible.h
with
6 additions
and
5 deletions
Event/LinkerEvent/src/LinksByKey.cpp
+
1
−
1
View file @
dfdeb557
...
...
@@ -145,7 +145,7 @@ bool LHCb::LinksByKey::firstReference( int key, const DataObject* container, LHC
linkID
=
link
->
ID
();
}
int
index
;
int
index
{
0
}
;
if
(
findIndex
(
key
,
index
)
)
{
reference
=
m_linkReference
[
m_keyIndex
[
index
].
second
];
if
(
0
<=
linkID
)
{
...
...
This diff is collapsed.
Click to expand it.
Sim/SimComponents/src/MCReconstructible.h
+
5
−
4
View file @
dfdeb557
...
...
@@ -87,10 +87,10 @@ private: // methods
/// get the MCTrackInfo object
inline
MCTrackInfo
&
mcTkInfo
()
const
{
if
(
UNLIKELY
(
!
m_tkInfo
)
)
{
m_tkInfo
=
std
::
make_unique
<
MCTrackInfo
>
(
evtSvc
(),
msgSvc
()
)
;
if
(
!
m_tkInfo
)
{
Exception
(
"Failed to load MCTrackInfo"
);
}
}
auto
cEvt
=
Gaudi
::
Hive
::
currentContext
().
evt
();
if
(
currentEvtContextID
==
cEvt
&&
m_tkInfo
)
return
*
m_tkInfo
;
currentEvtContextID
=
cEvt
;
m_tkInfo
=
std
::
make_unique
<
MCTrackInfo
>
(
evtSvc
(),
msgSvc
()
);
return
*
m_tkInfo
;
}
...
...
@@ -111,6 +111,7 @@ private: // data
/// Pointer to MCTrackInfo object
mutable
std
::
unique_ptr
<
MCTrackInfo
>
m_tkInfo
;
mutable
uint64_t
currentEvtContextID
{
0
};
/// MCParticle selector
IMCParticleSelector
*
m_mcSel
=
nullptr
;
...
...
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