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
cbm::algo::UnpackMSBase
Definition
UnpackMSBase.h:18
cbm::algo::UnpackMSBase::~UnpackMSBase
virtual ~UnpackMSBase()=default
cbm::algo::UnpackMSBase::Digi_t
D Digi_t
Definition
UnpackMSBase.h:21
cbm::algo::UnpackMSBase::Aux_t
A Aux_t
Definition
UnpackMSBase.h:23
cbm::algo::UnpackMSBase::Monitor_t
M 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::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:14
algo
unpack
UnpackMSBase.h
Generated on Sun Dec 22 2024 23:04:05 for CbmRoot by
1.12.0