Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Computing
cbmroot
Commits
b05c97c3
Commit
b05c97c3
authored
1 year ago
by
Sergey Gorbunov
Browse files
Options
Downloads
Patches
Plain Diff
CA: a protection for the null ptr
parent
bbc1a42b
No related branches found
No related tags found
1 merge request
!1183
L1: get rid of material budget files
Pipeline
#23524
failed
1 year ago
Stage: checkRepository
Stage: checkFormat
Stage: build
Stage: finalise
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reco/L1/catools/CaToolsMaterialHelper.cxx
+5
-1
5 additions, 1 deletion
reco/L1/catools/CaToolsMaterialHelper.cxx
with
5 additions
and
1 deletion
reco/L1/catools/CaToolsMaterialHelper.cxx
+
5
−
1
View file @
b05c97c3
...
...
@@ -206,7 +206,11 @@ L1Material MaterialHelper::GenerateMaterialMap(double zRef, double zMin, double
bool
doContinue
=
1
;
for
(
int
iStep
=
0
;
doContinue
;
iStep
++
)
{
if
(
!
node
)
{
LOG
(
fatal
)
<<
"ca::tools::MaterialHelper: TGeoNavigator can not find the geo node"
;
}
if
(
!
node
)
{
// may happen when tracing outside of the CBM volume -> produce a warning
LOG
(
warning
)
<<
"ca::tools::MaterialHelper: TGeoNavigator can not find the geo node"
;
break
;
}
TGeoMedium
*
medium
=
node
->
GetMedium
();
if
(
!
medium
)
{
LOG
(
fatal
)
<<
"ca::tools::MaterialHelper: TGeoNavigator can not find the geo medium"
;
}
...
...
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