CbmRoot
Loading...
Searching...
No Matches
TsUtils.h
Go to the documentation of this file.
1
/* Copyright (C) 2023 FIAS Frankfurt Institute for Advanced Studies, Frankfurt / Main
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Felix Weiglhofer [committer] */
4
5
#include <Timeslice.hpp>
6
7
namespace
cbm::algo::ts_utils
8
{
9
10
inline
size_t
SizeBytes
(
const
fles::Timeslice& ts)
11
{
12
size_t
size
= 0;
13
for
(
size_t
i = 0; i < ts.num_components(); i++) {
14
size
+= ts.size_component(i);
15
}
16
return
size
;
17
}
18
19
}
// namespace cbm::algo::ts_utils
size
static constexpr size_t size()
Definition
KfSimdPseudo.h:2
cbm::algo::ts_utils
Definition
TsUtils.h:8
cbm::algo::ts_utils::SizeBytes
size_t SizeBytes(const fles::Timeslice &ts)
Definition
TsUtils.h:10
algo
base
util
TsUtils.h
Generated on Sun Dec 22 2024 23:04:04 for CbmRoot by
1.12.0