 |
Belle II Software
release-05-02-19
|
34 namespace SVDRunType {
47 namespace SVDEventType {
58 namespace SVDDAQModeType {
135 operator std::string()
const;
184 std::string
__str__()
const {
return (std::string)(*this); }
210 #endif //SVDMODEBYTE_H
@ MaxRunType
Maximum available run type ID.
baseType daqMode
DAQ mode id.
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
static const baseType c_DefaultID
Default / non-informative id 10010111 = 151 Run type: zero-suppressed, 2 Event type: global run,...
@ MaxEventType
Maximum available event type ID.
baseType getTriggerBin() const
Get the triggerBin id.
@ Bits
Total bit size of the SVDModeByte.
baseType getID() const
Get the unique id.
struct Belle2::SVDModeByte::@234::@235 parts
< Struct to contain all id components
void setEventType(baseType eventType)
Set the eventType id.
union Belle2::SVDModeByte::@234 m_id
Union to store the ID and all components in one go.
@ MaxDAQMode
Maximum available DAQ mode ID.
Class to store SVD mode information.
@ MaxID
Maximum value for ID.
baseType getDAQMode() const
Get the daqMode id.
bool operator==(const SVDModeByte &b) const
Check for equality.
@ MaxGoodTriggerBin
Maximum valid trigger time ID.
constexpr uint8_t zero_suppressed_timefit
@ TriggerBinBits
Number of bits available to represent a triggerBin.
void setDAQMode(baseType daqMode)
Set the daqMode id.
void setRunType(baseType runType)
Set the runType id.
constexpr uint8_t daq_1sample
one sample per strip
Abstract base class for different kinds of events.
uint8_t baseType
The base integer type for SVDModeByte.
bool isZeroSuppressedRun() const
Do we have useful run type? A useful run is.
std::string __str__() const
make this type printable in python with print(vxd_id)
constexpr uint8_t daq_6samples
six samples per strip
constexpr uint8_t daq_3samples
three samples per strip
@ RunTypeBits
Number of bits available to represent run type.
@ MaxTriggerTime
Maximum available trigger time ID.
@ EventTypeBits
Number of bits available to represent event type.
constexpr uint8_t transparent
01.
baseType getRunType() const
Get the runMode id.
baseType triggerBin
Trigger time id.
@ DAQModeBits
Number of bits available to represent DAQ Mode.
constexpr uint8_t zero_suppressed
void setTriggerBin(baseType triggerBin)
Set the triggerBin id.
bool hasTimeFit() const
Do we have time fit information?
baseType eventType
Event type id.
constexpr uint8_t global_run
global run
constexpr uint8_t local_run
local run - should never happen
baseType runType
Run type id.
baseType getEventType() const
Get the eventMode id.
SVDModeByte & operator=(const SVDModeByte &b)
Assignment operator.
SVDModeByte(baseType id=c_DefaultID)
Constructor using the unique id.
void setID(baseType id)
Set the unique id.