Belle II Software
release-08-01-10
|
#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.