R3BROOT
R3B analysis software
Toggle main menu visibility
Loading...
Searching...
No Matches
R3BUnpackReader.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3
* Copyright (C) 2019-2025 Members of R3B Collaboration *
4
* *
5
* This software is distributed under the terms of the *
6
* GNU General Public Licence (GPL) version 3, *
7
* copied verbatim in the file "LICENSE". *
8
* *
9
* In applying this license GSI does not waive the privileges and immunities *
10
* granted to it by virtue of its status as an Intergovernmental Organization *
11
* or submit itself to any jurisdiction. *
12
******************************************************************************/
13
14
#pragma once
15
16
#include "
R3BReader.h
"
17
#include <Rtypes.h>
18
19
struct
EXT_STR_h101_unpack_t;
20
typedef
struct
EXT_STR_h101_unpack_t
EXT_STR_h101_unpack
;
21
22
class
ext_data_struct_info;
23
class
R3BEventHeader
;
24
25
class
R3BUnpackReader
:
public
R3BReader
26
{
27
public
:
28
R3BUnpackReader
(
EXT_STR_h101_unpack
*,
size_t
);
29
30
// Setup structure information
31
virtual
Bool_t
Init
(ext_data_struct_info*)
override
;
32
33
// Read data from full event structure
34
virtual
Bool_t
R3BRead
()
override
;
35
36
// Reset
37
virtual
void
Reset
()
override
;
38
39
private
:
40
// An event counter
41
uint64_t
fNEvent
;
42
// Reader specific data structure from ucesb
43
EXT_STR_h101_unpack
*
fData
;
44
// Offset of detector specific data in full data structure
45
size_t
fOffset
;
46
// A pointer to the R3BEventHeader structure
47
R3BEventHeader
*
fHeader
;
48
49
public
:
50
ClassDefOverride
(
R3BUnpackReader
, 0);
51
};
R3BReader.h
EXT_STR_h101_unpack
struct EXT_STR_h101_unpack_t EXT_STR_h101_unpack
Definition
R3BUnpackReader.h:20
R3BEventHeader
Definition
R3BEventHeader.h:23
R3BReader::R3BReader
R3BReader(TString const &)
Definition
R3BReader.cxx:16
R3BUnpackReader::ClassDefOverride
ClassDefOverride(R3BUnpackReader, 0)
R3BUnpackReader::fOffset
size_t fOffset
Definition
R3BUnpackReader.h:45
R3BUnpackReader::fNEvent
uint64_t fNEvent
Definition
R3BUnpackReader.h:41
R3BUnpackReader::R3BRead
virtual Bool_t R3BRead() override
Definition
R3BUnpackReader.cxx:60
R3BUnpackReader::fHeader
R3BEventHeader * fHeader
Definition
R3BUnpackReader.h:47
R3BUnpackReader::fData
EXT_STR_h101_unpack * fData
Definition
R3BUnpackReader.h:43
R3BUnpackReader::R3BUnpackReader
R3BUnpackReader(EXT_STR_h101_unpack *, size_t)
Definition
R3BUnpackReader.cxx:27
R3BUnpackReader::Reset
virtual void Reset() override
Definition
R3BUnpackReader.cxx:87
R3BUnpackReader::Init
virtual Bool_t Init(ext_data_struct_info *) override
Definition
R3BUnpackReader.cxx:36
r3bsource
base
R3BUnpackReader.h
Generated by
1.18.0