Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Alessandro Sala
athena
Commits
19f6718c
Commit
19f6718c
authored
7 months ago
by
Frank Winklmeier
Browse files
Options
Downloads
Patches
Plain Diff
ZdcAnalysis: fix compiler warning
parent
8d7dcf5a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ForwardDetectors/ZDC/ZdcAnalysis/Root/RPDDataAnalyzer.cxx
+4
-4
4 additions, 4 deletions
ForwardDetectors/ZDC/ZdcAnalysis/Root/RPDDataAnalyzer.cxx
with
4 additions
and
4 deletions
ForwardDetectors/ZDC/ZdcAnalysis/Root/RPDDataAnalyzer.cxx
+
4
−
4
View file @
19f6718c
...
...
@@ -4,10 +4,10 @@
#include
"TMath.h"
#include
<limits>
auto
zeroVector
=
[](
std
::
vector
<
float
>&
v
){
v
.
assign
(
v
.
size
(),
0
);
};
auto
zeroVectorVector
=
[](
std
::
vector
<
std
::
vector
<
float
>>&
vv
){
for
(
std
::
vector
<
float
>&
v
:
vv
)
v
.
assign
(
v
.
size
(),
0
);
};
auto
zeroPileupFunc
=
[](
unsigned
int
){
return
0
;
};
auto
zeroPileupFuncVector
=
[](
std
::
vector
<
std
::
function
<
float
(
unsigned
int
)
>>&
v
){
v
.
assign
(
v
.
size
(),
zeroPileupFunc
);
};
const
auto
zeroVector
=
[](
std
::
vector
<
float
>&
v
){
v
.
assign
(
v
.
size
(),
0
);
};
const
auto
zeroVectorVector
=
[](
std
::
vector
<
std
::
vector
<
float
>>&
vv
){
for
(
std
::
vector
<
float
>&
v
:
vv
)
v
.
assign
(
v
.
size
(),
0
);
};
const
auto
zeroPileupFunc
=
[](
unsigned
int
){
return
0
;
};
const
auto
zeroPileupFuncVector
=
[](
std
::
vector
<
std
::
function
<
float
(
unsigned
int
)
>>&
v
){
v
.
assign
(
v
.
size
(),
zeroPileupFunc
);
};
RPDDataAnalyzer
::
RPDDataAnalyzer
(
ZDCMsg
::
MessageFunctionPtr
messageFunc_p
,
const
std
::
string
&
tag
,
const
RPDConfig
&
config
,
std
::
vector
<
float
>
const
&
calibFactors
...
...
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