Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
8f0d5931
Commit
8f0d5931
authored
Jun 22, 2021
by
Lennart Huth
Browse files
adding a cast to double
parent
5b8cb0be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/AnalysisTracks/AnalysisTracks.cpp
View file @
8f0d5931
...
...
@@ -55,7 +55,8 @@ StatusCode AnalysisTracks::run(const std::shared_ptr<Clipboard>& clipboard) {
for
(
auto
d
:
get_detectors
())
{
if
(
d
->
isAuxiliary
())
continue
;
clusters_vs_tracks_
.
at
(
d
->
getName
())
->
Fill
(
tracks
.
size
(),
clipboard
->
getData
<
Cluster
>
(
d
->
getName
()).
size
());
clusters_vs_tracks_
.
at
(
d
->
getName
())
->
Fill
(
tracks
.
size
(),
static_cast
<
double
>
(
clipboard
->
getData
<
Cluster
>
(
d
->
getName
()).
size
()));
}
// Loop over all tracks and get clusters assigned to tracks as well as the intersections
std
::
map
<
std
::
string
,
std
::
map
<
std
::
pair
<
double
,
double
>
,
int
>>
track_clusters
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment