CbmRoot
Loading...
Searching...
No Matches
UnpackMSBase.h
Go to the documentation of this file.
1
/* Copyright (C) 2024 FIAS Frankfurt Institute for Advanced Studies, Frankfurt / Main
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Felix Weiglhofer [committer] */
4
#pragma once
5
6
#include <utility>
7
#include <vector>
8
9
namespace
fles
10
{
11
class
MicrosliceDescriptor;
12
}
13
14
namespace
cbm::algo
15
{
16
17
template
<
typename
D,
typename
M,
typename
A>
18
class
UnpackMSBase
{
19
20
public
:
21
using
Digi_t
=
D
;
22
using
Monitor_t
= M;
23
using
Aux_t
=
A
;
24
25
using
Result_t
= std::tuple<std::vector<Digi_t>,
Monitor_t
,
Aux_t
>;
26
27
virtual
~UnpackMSBase
() =
default
;
28
29
virtual
Result_t
operator()
(
const
uint8_t* msContent,
const
fles::MicrosliceDescriptor& msDescr,
30
const
uint64_t tTimeslice)
const
= 0;
31
};
32
33
}
// namespace cbm::algo
ESomeEnum::D
@ D
Definition
_GTestEnumMapper.cxx:22
A
Some class A.
Definition
_GTestStructLooper.cxx:18
cbm::algo::UnpackMSBase
Definition
UnpackMSBase.h:18
cbm::algo::UnpackMSBase::~UnpackMSBase
virtual ~UnpackMSBase()=default
cbm::algo::UnpackMSBase< Digi, MSMonitor, MSAux >::Digi_t
Digi Digi_t
Definition
UnpackMSBase.h:21
cbm::algo::UnpackMSBase< Digi, MSMonitor, MSAux >::Aux_t
MSAux Aux_t
Definition
UnpackMSBase.h:23
cbm::algo::UnpackMSBase< Digi, MSMonitor, MSAux >::Monitor_t
MSMonitor Monitor_t
Definition
UnpackMSBase.h:22
cbm::algo::UnpackMSBase::operator()
virtual Result_t operator()(const uint8_t *msContent, const fles::MicrosliceDescriptor &msDescr, const uint64_t tTimeslice) const =0
cbm::algo::UnpackMSBase< Digi, MSMonitor, MSAux >::Result_t
std::tuple< std::vector< Digi_t >, Monitor_t, Aux_t > Result_t
Definition
UnpackMSBase.h:25
cbm::algo
Definition
AlgoTraits.h:16
fles
Definition
Reco.h:17
algo
unpack
UnpackMSBase.h
Generated on Fri Jan 30 2026 23:05:19 for CbmRoot by
1.13.2