Project
Loading...
Searching...
No Matches
PadDecoder.h
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
#ifndef ALICEO2_FOCAL_PADDECODER_H
12
#define ALICEO2_FOCAL_PADDECODER_H
13
14
#include <array>
15
#include <vector>
16
#include <functional>
17
#include <cstdint>
18
19
#include "Rtypes.h"
20
21
#include <gsl/span>
22
23
#include "
FOCALReconstruction/PadData.h
"
24
25
namespace
o2::focal
26
{
27
class
PadDecoder
28
{
29
public
:
30
PadDecoder
() =
default
;
31
~PadDecoder
() =
default
;
32
33
void
setTriggerWinDur
(
int
windur) { mWin_dur = windur; }
34
35
void
reset
();
36
void
decodeEvent
(gsl::span<const PadGBTWord> padpayload);
37
const
PadData
&
getData
()
const
{
return
mData; }
38
39
protected
:
40
private
:
41
int
mWin_dur = 20;
42
PadData
mData;
43
44
ClassDefNV(
PadDecoder
, 1);
45
};
46
47
}
// namespace o2::focal
48
49
#endif
// ALICEO2_FOCAL_PADDECODER_H
PadData.h
o2::focal::PadData
Definition
PadData.h:126
o2::focal::PadDecoder
Definition
PadDecoder.h:28
o2::focal::PadDecoder::reset
void reset()
Definition
PadDecoder.cxx:25
o2::focal::PadDecoder::getData
const PadData & getData() const
Definition
PadDecoder.h:37
o2::focal::PadDecoder::decodeEvent
void decodeEvent(gsl::span< const PadGBTWord > padpayload)
Definition
PadDecoder.cxx:30
o2::focal::PadDecoder::PadDecoder
PadDecoder()=default
o2::focal::PadDecoder::~PadDecoder
~PadDecoder()=default
o2::focal::PadDecoder::setTriggerWinDur
void setTriggerWinDur(int windur)
Definition
PadDecoder.h:33
o2::focal
Definition
SimTraits.h:171
Detectors
FOCAL
reconstruction
include
FOCALReconstruction
PadDecoder.h
Generated on Tue Feb 25 2025 23:16:16 for Project by
1.9.8