R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
ext_h101_unpack.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/********************************************************
15 *
16 * Structure for ext_data_fetch_event() filling.
17 *
18 * Do not edit - automatically generated.
19 */
20
21#ifndef __GUARD_H101_EXT_H101_UNPACK_H__
22#define __GUARD_H101_EXT_H101_UNPACK_H__
23
24#ifndef __CINT__
25#include <stdint.h>
26#else
27/* For CINT (old version trouble with stdint.h): */
28#ifndef uint32_t
29typedef unsigned int uint32_t;
30typedef int int32_t;
31#endif
32#endif
33#ifndef EXT_STRUCT_CTRL
34#define EXT_STRUCT_CTRL(x)
35#endif
36
37/********************************************************
38 *
39 * Plain structure (layout as ntuple/root file):
40 */
41
43{
44 /* UNPACK */
45 uint32_t TRIGGER;
46 uint32_t EVENTNO;
48
49/*******************************************************/
50
51#define EXT_STR_h101_unpack_ITEMS_INFO(ok, si, offset, struct_t, printerr) \
52 do \
53 { \
54 ok = 1; \
55 /* UNPACK */ \
56 EXT_STR_ITEM_INFO_LIM(ok, si, offset, struct_t, printerr, TRIGGER, UINT32, "TRIGGER", 15); \
57 EXT_STR_ITEM_INFO(ok, si, offset, struct_t, printerr, EVENTNO, UINT32, "EVENTNO"); \
58 } while (0);
59
60#endif /*__GUARD_H101_EXT_H101_unpack_H__*/
61
62/*******************************************************/
struct EXT_STR_h101_unpack_t EXT_STR_h101_unpack