Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LHCb
Boole
Commits
56b4389f
Commit
56b4389f
authored
Nov 12, 2021
by
Emmy Gabriel
Browse files
fix floating point exception
parent
1f5c4769
Pipeline
#3233496
passed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
FT/FTDigitisation/src/SiPMResponse.cpp
View file @
56b4389f
...
...
@@ -48,8 +48,8 @@ StatusCode SiPMResponse::initialize() {
if
(
sc
.
isFailure
()
)
return
Error
(
"Failed to initialize"
,
sc
);
// initialise SiPMResponse as zero in case conditions DB fails
std
::
vector
<
double
>
times
{
0.0
}
;
std
::
vector
<
double
>
values
{
0.0
}
;
std
::
vector
<
double
>
times
;
std
::
vector
<
double
>
values
;
if
(
!
existDet
<
DataObject
>
(
detSvc
(),
m_conditionLocation
.
value
()
)
)
{
Warning
(
"SiPMResponse found not in conditions DB"
,
StatusCode
::
SUCCESS
).
ignore
();
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment