Project
Loading...
Searching...
No Matches
BareElinkEncoder.cxx
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#include "
BareElinkEncoder.h
"
13
14
namespace
o2::mch::raw
15
{
16
17
template
<>
18
void
ElinkEncoder<BareFormat, ChargeSumMode>::appendCharges
(
const
SampaCluster
& sc)
19
{
20
append20(sc.
chargeSum
);
21
}
22
23
template
<>
24
void
ElinkEncoder<BareFormat, SampleMode>::appendCharges
(
const
SampaCluster
& sc)
25
{
26
for
(
auto
& s : sc.
samples
) {
27
append10(s);
28
}
29
}
30
31
}
// namespace o2::mch::raw
BareElinkEncoder.h
o2::mch::raw::ElinkEncoder::appendCharges
void appendCharges(const SampaCluster &sc)
Definition
BareElinkEncoder.cxx:18
o2::mch::raw
Definition
pedestal-decoding-workflow.cxx:58
o2::mch::raw::SampaCluster
Piece of data for one Sampa channel.
Definition
SampaCluster.h:40
o2::mch::raw::SampaCluster::samples
std::vector< uint16_t > samples
Definition
SampaCluster.h:78
o2::mch::raw::SampaCluster::chargeSum
uint20_t chargeSum
Definition
SampaCluster.h:76
Detectors
MUON
MCH
Raw
Encoder
Payload
BareElinkEncoder.cxx
Generated on Tue Feb 25 2025 23:16:23 for Project by
1.9.8