FairRoot/PandaRoot
MvdTestBeam/Tools/mrf_confitem.h
Go to the documentation of this file.
1 /*============================================================*/
2 /* mrf_confitem.h */
3 /* MVD Readout Framework Configuration Item */
4 /* M.C. Mertens */
5 /*============================================================*/
6 
7 
8 #ifndef __MRF_CONFITEM_H__
9 #define __MRF_CONFITEM_H__
10 
11 #include "mrfbase.h"
12 
14 
17 class TConfItem
18 {
19  public:
20  TConfItem();
21 
23 
31  //TConfItem(const mrf::registertype value, const UInt_t position, const UInt_t length);
32 
33  TConfItem(const mrf::registertype value, const UInt_t position, const UInt_t length);
34 
35  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);
36 
39 
41  UInt_t position;
42 
44  UInt_t length;
45 
47  UInt_t min;
48 
50  UInt_t max;
51 
53  UInt_t flags;
54  protected:
55  private:
56 };
57 
58 #endif // __MRF_CONFITEM_H__
59 
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.