R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BWhiterabbitNeulandReader.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 TClonesArray;
23class R3BEventHeader;
24
31
33{
34 public:
35 // Standard constructor
37
38 // Destructor
40
41 // Setup structure information
42 virtual Bool_t Init(ext_data_struct_info*) override;
43
44 // Read data from full event structure
45 virtual Bool_t R3BRead() override;
46
47 // Reset
48 virtual void Reset() override;
49
51 void SetOnline(Bool_t option) { fOnline = option; }
52
53 private:
54 // An event counter */
55 UInt_t fNEvent;
56 // Reader specific data structure from ucesb
58 // Offset of detector specific data in full data structure
59 size_t fOffset;
60 // The whiterabbit subsystem ID
61 UInt_t fWhiterabbitId;
62 // A pointer to the R3BEventHeader structure
63 R3BEventHeader* fEventHeader;
64 // Don't store data for online
65 Bool_t fOnline;
66 // Output array
67 TClonesArray* fArray;
68
69 public:
71};
R3BReader(TString const &)
Definition R3BReader.cxx:16
virtual Bool_t Init(ext_data_struct_info *) override
ClassDefOverride(R3BWhiterabbitNeulandReader, 0)
void SetOnline(Bool_t option)
Accessor to select online mode.
R3BWhiterabbitNeulandReader(EXT_STR_h101_WRNEULAND *, size_t, UInt_t)
struct EXT_STR_h101_WRNEULAND_t EXT_STR_h101_WRNEULAND