R3BROOT
R3B analysis software
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
21
22class ext_data_struct_info;
23class R3BEventHeader;
24
26{
27 public:
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
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:
51};
R3BReader(TString const &)
Definition R3BReader.cxx:16
ClassDefOverride(R3BUnpackReader, 0)
virtual Bool_t R3BRead() override
R3BUnpackReader(EXT_STR_h101_unpack *, size_t)
virtual void Reset() override
virtual Bool_t Init(ext_data_struct_info *) override
struct EXT_STR_h101_unpack_t EXT_STR_h101_unpack