PandaRoot
MvdOfflineTBAnalysis_Topix4/mrf_confitem.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /*============================================================*/
14 /* mrf_confitem.h */
15 /* MVD Readout Framework Configuration Item */
16 /* M.C. Mertens */
17 /*============================================================*/
18 
19 #ifndef __MRF_CONFITEM_H__
20 #define __MRF_CONFITEM_H__
21 
22 #include "mrfbase.h"
23 
25 
28 class TConfItem {
29  public:
30  TConfItem();
31 
33 
41  // TConfItem(const mrf::registertype value, const UInt_t position, const UInt_t length);
42 
43  TConfItem(const mrf::registertype value, const UInt_t position, const UInt_t length);
44 
45  TConfItem(const mrf::registertype value, const UInt_t position, const UInt_t length, const UInt_t min, const UInt_t max, const UInt_t flags = 0);
46 
49 
51  UInt_t position;
52 
54  UInt_t length;
55 
57  UInt_t min;
58 
60  UInt_t max;
61 
63  UInt_t flags;
64 
65  protected:
66  private:
67 };
68 
69 #endif // __MRF_CONFITEM_H__
UInt_t flags
Flag field to store additional properties of data.
UInt_t min
Minimum valid value. Corresponds to disabled for state data.
UInt_t position
Holds the position of the data value in the data stream.
Configuration Item to be used in TMrfData structures.
UInt_t length
Holds the length of reserved space for the data value in the data stream.
UInt_t registertype
Register content data type.
UInt_t max
Maximum valid value. Corresponds to enabled for state data.
mrf::registertype value
Holds the data value.