Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Yue Hang Leung
cbmroot
Commits
1cf2ff67
Commit
1cf2ff67
authored
2 years ago
by
Pierre-Alain Loizeau
Committed by
Pierre-Alain Loizeau
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Trigger fatal if Match invalid in CbmMatchRecoToMC::CbmMatchRecoToMC::MatchClusters, #2737
parent
fe74bcb2
No related branches found
Branches containing commit
Tags
dev_2023_09
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/base/CbmMatchRecoToMC.cxx
+4
-0
4 additions, 0 deletions
core/base/CbmMatchRecoToMC.cxx
with
4 additions
and
0 deletions
core/base/CbmMatchRecoToMC.cxx
+
4
−
0
View file @
1cf2ff67
...
@@ -424,6 +424,10 @@ void CbmMatchRecoToMC::MatchClusters(ECbmModuleId systemId, const TClonesArray*
...
@@ -424,6 +424,10 @@ void CbmMatchRecoToMC::MatchClusters(ECbmModuleId systemId, const TClonesArray*
for
(
Int_t
iDigi
=
0
;
iDigi
<
nofDigis
;
iDigi
++
)
{
for
(
Int_t
iDigi
=
0
;
iDigi
<
nofDigis
;
iDigi
++
)
{
Int_t
digiIndex
=
cluster
->
GetDigi
(
iDigi
);
Int_t
digiIndex
=
cluster
->
GetDigi
(
iDigi
);
const
CbmMatch
*
digiMatch
=
fDigiManager
->
GetMatch
(
systemId
,
digiIndex
);
const
CbmMatch
*
digiMatch
=
fDigiManager
->
GetMatch
(
systemId
,
digiIndex
);
if
(
nullptr
==
digiMatch
)
{
LOG
(
fatal
)
<<
"CbmMatchRecoToMC::MatchClusters => no Match found for system "
<<
systemId
<<
" digi index "
<<
digiIndex
<<
" (digi "
<<
iDigi
<<
" from cluster "
<<
iCluster
<<
") !"
;
}
clusterMatch
->
AddLinks
(
*
digiMatch
);
clusterMatch
->
AddLinks
(
*
digiMatch
);
}
//# digis in cluster
}
//# digis in cluster
}
//# clusters
}
//# clusters
...
...
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