FairRoot/PandaRoot
MvdOfflineTBAnalysis_Topix4/mrf_confitem.cxx
Go to the documentation of this file.
1 /*============================================================*/
2 /* mrf_confitem.cpp */
3 /* MVD Readout Framework Configuration Item */
4 /* M.C. Mertens */
5 /*============================================================*/
6 
7 
8 #include "mrf_confitem.h"
9 
10 
12 : value(0), position(0), length(0), min(0), max(0), flags(0)
13 {
14 }
15 
16 /*
17 TConfItem::TConfItem(const mrf::registertype value, const UInt_t position, const UInt_t length)
18 : value(value), position(position), length(length), user1(0), user2(0)
19 {
20 }
21 */
22 
23 TConfItem::TConfItem(const mrf::registertype value, const UInt_t position, const UInt_t length)
24 : value(value), position(position), length(length), min(0), max((1 << length) - 1), flags(0)
25 {
26 }
27 
28 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)
29 : value(value), position(position), length(length), min(min), max(max), flags(flags)
30 {
31 }
32 
33 
34 
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:26
UInt_t registertype
Register content data type.
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25