Belle II Software development
|
#include <ROIrawID.h>
Public Types | |
enum | { UnusedBits = 21 , SystemFlagBits = 1 , DHHIDBits = 6 , MinVBits = 10 , MinUBits = 8 , MaxVBits = 10 , MaxUBits = 8 , Bits = UnusedBits + SystemFlagBits + DHHIDBits + MinVBits + MinUBits + MaxVBits + MaxUBits } |
typedef uint64_t | baseType |
base type | |
Public Member Functions | |
ROIrawID (baseType id=0) | |
constructor setting the id | |
ROIrawID (baseType SystemFlag, baseType DHHID, baseType MinV, baseType MinU, baseType MaxV, baseType MaxU) | |
constructor | |
baseType | getSystemFlag () const |
get system flag | |
baseType | getDHHID () const |
get DHH ID | |
baseType | getMinVid () const |
get minimum V | |
baseType | getMinUid () const |
get minimum U | |
baseType | getMaxVid () const |
get maximum V | |
baseType | getMaxUid () const |
get maximum U | |
baseType | getID () const |
get ROIrawID | |
baseType | getBigEndian () const |
get bigEndian | |
void | setSystemFlag (baseType SystemFlag) |
set system flag | |
void | setDHHID (baseType DHHID) |
set DHH ID | |
void | setMinVid (baseType MinV) |
set minimum V | |
void | setMinUid (baseType MinU) |
set minimum U | |
void | setMaxVid (baseType MaxV) |
set maximum V | |
void | setMaxUid (baseType MaxU) |
set maximum U | |
void | setID (baseType id) |
set ROIrawID | |
bool | operator() (const ROIrawID &roi1, const ROIrawID &roi2) const |
operator used to order the ROIs (ascending DHHID) | |
Private Attributes | |
union { | |
baseType id: Bits | |
struct { | |
baseType maxU: MaxUBits | |
baseType maxV: MaxVBits | |
baseType minU: MinUBits | |
baseType minV: MinVBits | |
baseType DHHID: DHHIDBits | |
baseType systemFlag: SystemFlagBits | |
baseType unused: UnusedBits | |
} parts | |
} | m_rawID |
raw ID | |
64 bit union that contains the ROI information to be stored in the payload that is sent to the ONSEN.
Definition at line 24 of file ROIrawID.h.
typedef uint64_t baseType |
base type
Definition at line 28 of file ROIrawID.h.
anonymous enum |
Definition at line 29 of file ROIrawID.h.
constructor setting the id
Definition at line 49 of file ROIrawID.h.
|
inline |
constructor
Definition at line 54 of file ROIrawID.h.
|
inline |
Definition at line 86 of file ROIrawID.h.
ROIrawID::baseType getBigEndian | ( | ) | const |
get bigEndian
Definition at line 13 of file ROIrawID.cc.
|
inline |
get DHH ID
Definition at line 67 of file ROIrawID.h.
|
inline |
get ROIrawID
Definition at line 72 of file ROIrawID.h.
|
inline |
get maximum U
Definition at line 71 of file ROIrawID.h.
|
inline |
get maximum V
Definition at line 70 of file ROIrawID.h.
|
inline |
get minimum U
Definition at line 69 of file ROIrawID.h.
|
inline |
get minimum V
Definition at line 68 of file ROIrawID.h.
|
inline |
get system flag
Definition at line 66 of file ROIrawID.h.
operator used to order the ROIs (ascending DHHID)
Definition at line 88 of file ROIrawID.h.
|
inline |
set DHH ID
Definition at line 78 of file ROIrawID.h.
|
inline |
set ROIrawID
Definition at line 83 of file ROIrawID.h.
|
inline |
set maximum U
Definition at line 82 of file ROIrawID.h.
|
inline |
set maximum V
Definition at line 81 of file ROIrawID.h.
|
inline |
set minimum U
Definition at line 80 of file ROIrawID.h.
|
inline |
set minimum V
Definition at line 79 of file ROIrawID.h.
|
inline |
set system flag
Definition at line 77 of file ROIrawID.h.
baseType DHHID |
Definition at line 104 of file ROIrawID.h.
baseType id |
Definition at line 98 of file ROIrawID.h.
baseType maxU |
Definition at line 100 of file ROIrawID.h.
baseType maxV |
Definition at line 101 of file ROIrawID.h.
baseType minU |
Definition at line 102 of file ROIrawID.h.
baseType minV |
Definition at line 103 of file ROIrawID.h.
baseType systemFlag |
Definition at line 105 of file ROIrawID.h.
baseType unused |
Definition at line 106 of file ROIrawID.h.