FairRoot/PandaRoot
Public Member Functions | Public Attributes | List of all members
TConfItem Class Reference

Configuration Item to be used in TMrfData structures. More...

#include <mrf_confitem.h>

Public Member Functions

 TConfItem ()
 
 TConfItem (const mrf::registertype value, const UInt_t position, const UInt_t length)
 Standard constructor with initialization list. More...
 
 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)
 
 TConfItem ()
 
 TConfItem (const mrf::registertype value, const UInt_t position, const UInt_t length)
 Standard constructor with initialization list. More...
 
 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)
 

Public Attributes

mrf::registertype value
 Holds the data value. More...
 
UInt_t position
 Holds the position of the data value in the data stream. More...
 
UInt_t length
 Holds the length of reserved space for the data value in the data stream. More...
 
UInt_t min
 Minimum valid value. Corresponds to disabled for state data. More...
 
UInt_t max
 Maximum valid value. Corresponds to enabled for state data. More...
 
UInt_t flags
 Flag field to store additional properties of data. More...
 

Detailed Description

Configuration Item to be used in TMrfData structures.

Holds information about values, position and length of data items.

Definition at line 17 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.h.

Constructor & Destructor Documentation

TConfItem::TConfItem ( )

Definition at line 11 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.cxx.

12 : value(0), position(0), length(0), min(0), max(0), flags(0)
13 {
14 }
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.
UInt_t length
Holds the length of reserved space for the data value in the data stream.
UInt_t max
Maximum valid value. Corresponds to enabled for state data.
mrf::registertype value
Holds the data value.
TConfItem::TConfItem ( const mrf::registertype  value,
const UInt_t  position,
const UInt_t  length 
)

Standard constructor with initialization list.

Parameters
valueValue to be set.
positionPosition of the value in the data stream.
lengthLength of the storage space reserved in the data stream.
minOptional lower bounds for value.
maxOptional upper bounds for value.
flagsOptional flag field.

Definition at line 23 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.cxx.

24 : value(value), position(position), length(length), min(0), max((1 << length) - 1), flags(0)
25 {
26 }
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.
UInt_t length
Holds the length of reserved space for the data value in the data stream.
UInt_t max
Maximum valid value. Corresponds to enabled for state data.
mrf::registertype value
Holds the data value.
TConfItem::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 
)

Definition at line 28 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.cxx.

30 {
31 }
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.
UInt_t length
Holds the length of reserved space for the data value in the data stream.
UInt_t max
Maximum valid value. Corresponds to enabled for state data.
mrf::registertype value
Holds the data value.
TConfItem::TConfItem ( )
TConfItem::TConfItem ( const mrf::registertype  value,
const UInt_t  position,
const UInt_t  length 
)

Standard constructor with initialization list.

Parameters
valueValue to be set.
positionPosition of the value in the data stream.
lengthLength of the storage space reserved in the data stream.
minOptional lower bounds for value.
maxOptional upper bounds for value.
flagsOptional flag field.
TConfItem::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 
)

Member Data Documentation

UInt_t TConfItem::flags

Flag field to store additional properties of data.

Definition at line 53 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.h.

UInt_t TConfItem::length

Holds the length of reserved space for the data value in the data stream.

Definition at line 44 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.h.

UInt_t TConfItem::max

Maximum valid value. Corresponds to enabled for state data.

Definition at line 50 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.h.

UInt_t TConfItem::min

Minimum valid value. Corresponds to disabled for state data.

Definition at line 47 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.h.

UInt_t TConfItem::position

Holds the position of the data value in the data stream.

Definition at line 41 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.h.

mrf::registertype TConfItem::value

Holds the data value.

Definition at line 38 of file MvdOfflineTBAnalysis_Topix4/mrf_confitem.h.


The documentation for this class was generated from the following files: