CbmRoot
Loading...
Searching...
No Matches
sts/Unpack.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], Dominik Smith */
4
5
#pragma once
6
7
#include "
CommonUnpacker.h
"
8
#include "
ReadoutConfig.h
"
9
#include "
UnpackMS.h
"
10
#include "
WalkMap.h
"
11
12
namespace
cbm::algo::sts
13
{
14
15
namespace
detail
16
{
17
using
UnpackBase
=
CommonUnpacker<CbmStsDigi, UnpackMonitorData, UnpackAuxData>
;
18
}
19
20
class
Unpack
:
public
detail::UnpackBase
{
21
22
public
:
23
struct
Config
{
24
ReadoutConfig
readout
;
25
WalkMap
walkMap
;
26
bool
bCollectAuxData
=
false
;
27
};
28
29
using
Result_t
=
detail::UnpackBase::Result_t
;
30
31
Unpack
(
const
Config
& config);
32
33
Result_t
operator()
(
const
fles::Timeslice&)
const
;
34
35
private
:
36
Config
fConfig
;
37
38
void
PrintDigisPerModule
(
const
PODVector<CbmStsDigi>
& digis)
const
;
39
};
40
41
}
// namespace cbm::algo::sts
CommonUnpacker.h
WalkMap.h
cbm::algo::CommonUnpacker
Definition
CommonUnpacker.h:81
cbm::algo::CommonUnpacker::Result_t
std::tuple< PODVector< Digi >, Monitor_t, Aux_t > Result_t
Definition
CommonUnpacker.h:85
cbm::algo::sts::ReadoutConfig
Provides the hardware-to-software address mapping for the CBM-STS.
Definition
sts/ReadoutConfig.h:100
cbm::algo::sts::Unpack
Definition
sts/Unpack.h:20
cbm::algo::sts::Unpack::fConfig
Config fConfig
Definition
sts/Unpack.h:36
cbm::algo::sts::Unpack::Result_t
detail::UnpackBase::Result_t Result_t
Definition
sts/Unpack.h:29
cbm::algo::sts::Unpack::operator()
Result_t operator()(const fles::Timeslice &) const
Definition
sts/Unpack.cxx:48
cbm::algo::sts::Unpack::PrintDigisPerModule
void PrintDigisPerModule(const PODVector< CbmStsDigi > &digis) const
Definition
sts/Unpack.cxx:56
cbm::algo::sts::WalkMap
Definition
WalkMap.h:17
cbm::algo::sts
Definition
TrackingDefs.h:25
cbm::algo::Step::Unpack
@ Unpack
cbm::algo::PODVector
std::vector< T, PODAllocator< T > > PODVector
PODVector is a std::vector that doesn't initialize its elements.
Definition
PODVector.h:17
cbm::algo::sts::Unpack::Config
Definition
sts/Unpack.h:23
cbm::algo::sts::Unpack::Config::walkMap
WalkMap walkMap
Definition
sts/Unpack.h:25
cbm::algo::sts::Unpack::Config::readout
ReadoutConfig readout
Definition
sts/Unpack.h:24
cbm::algo::sts::Unpack::Config::bCollectAuxData
bool bCollectAuxData
Definition
sts/Unpack.h:26
ReadoutConfig.h
UnpackMS.h
algo
detectors
sts
Unpack.h
Generated on Sun Dec 22 2024 23:04:04 for CbmRoot by
1.12.0