LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Literal constants for electronics quantities. More...
Functions | |
constexpr tick | operator""_tick (long double v) |
Literal tick value. More... | |
constexpr tick | operator""_tick (unsigned long long int v) |
Literal tick value. More... | |
constexpr tick_d | operator""_tickd (long double v) |
Literal tick (double -based, tick_d ) value. More... | |
constexpr tick_d | operator""_tickd (unsigned long long int v) |
Literal tick (double -based, tick_d ) value. More... | |
constexpr counts | operator""_ADC (long double v) |
Literal ADC count value. More... | |
constexpr counts | operator""_ADC (unsigned long long int v) |
Literal ADC count value. More... | |
constexpr counts_f | operator""_ADCf (long double v) |
Literal ADC count value (single precision floating points). More... | |
constexpr counts_f | operator""_ADCf (unsigned long long int v) |
Literal ADC count value (single precision floating points). More... | |
Literal constants for electronics quantities.
These functions allow a simplified syntax for specifying a tick quantity. In order to use these, their namespace must be used:
constexpr counts util::quantities::electronics_literals::operator""_ADC | ( | long double | v | ) |
Literal ADC count value.
Definition at line 163 of file electronics.h.
constexpr counts util::quantities::electronics_literals::operator""_ADC | ( | unsigned long long int | v | ) |
Literal ADC count value.
Definition at line 167 of file electronics.h.
constexpr counts_f util::quantities::electronics_literals::operator""_ADCf | ( | long double | v | ) |
Literal ADC count value (single precision floating points).
Definition at line 175 of file electronics.h.
constexpr counts_f util::quantities::electronics_literals::operator""_ADCf | ( | unsigned long long int | v | ) |
Literal ADC count value (single precision floating points).
Definition at line 179 of file electronics.h.
constexpr tick util::quantities::electronics_literals::operator""_tick | ( | long double | v | ) |
Literal tick value.
Definition at line 139 of file electronics.h.
References util::quantities::concepts::Quantity< Unit, T >::castFrom().
constexpr tick util::quantities::electronics_literals::operator""_tick | ( | unsigned long long int | v | ) |
Literal tick value.
Definition at line 143 of file electronics.h.
References util::quantities::concepts::Quantity< Unit, T >::castFrom().
constexpr tick_d util::quantities::electronics_literals::operator""_tickd | ( | long double | v | ) |
Literal tick (double
-based, tick_d
) value.
Definition at line 151 of file electronics.h.
References util::quantities::concepts::Quantity< Unit, T >::castFrom().
constexpr tick_d util::quantities::electronics_literals::operator""_tickd | ( | unsigned long long int | v | ) |
Literal tick (double
-based, tick_d
) value.
Definition at line 155 of file electronics.h.
References util::quantities::concepts::Quantity< Unit, T >::castFrom().