|
| const std::string | caption () const override |
| | The full name of the unit.
|
| |
| Unit * | clone () const override |
| |
| double | conversionTOFMax () const override |
| | This function returns maximal TOF value still reversibly convertible into the unit.
|
| |
| double | conversionTOFMin () const override |
| | some units can be converted from TOF only in the range of TOF ; This function returns minimal TOF value still reversibly convertible into the unit.
|
| |
| void | init () override |
| | Finalize the initialization.
|
| |
| bool | isConvertible () const override |
| | Returns if the unit can be used in conversions.
|
| |
| const UnitLabel | label () const override |
| | A label for the unit to be printed on axes,.
|
| |
| double | singleFromTOF (const double tof) const override |
| | Convert a single tof value to this unit.
|
| |
| double | singleToTOF (const double x) const override |
| | Convert a single X value to TOF.
|
| |
| | Time () |
| | Constructor.
|
| |
| const std::string | unitID () const override |
| | "Time"
|
| |
| virtual std::pair< double, double > | conversionRange () const |
| | The range where conversion to TOF from given units is monotonic and reversible.
|
| |
| double | convertSingleFromTOF (const double xvalue, const double &l1, const int &emode, const UnitParametersMap ¶ms) |
| | Convert from the time-of-flight to the concrete unit. TOF is in microseconds.
|
| |
| double | convertSingleToTOF (const double xvalue, const double &l1, const int &emode, const UnitParametersMap ¶ms) |
| | Convert from the concrete unit to time-of-flight. TOF is in microseconds.
|
| |
| void | fromTOF (std::vector< double > &xdata, std::vector< double > const &ydata, const double &_l1, const int &_emode, const UnitParametersMap ¶ms) |
| |
| void | fromTOF (std::vector< double > &xdata, std::vector< double > const &ydata, const double &_l1, const int &_emode, std::initializer_list< std::pair< const UnitParams, double > > params) |
| | Convert from time-of-flight to the concrete unit.
|
| |
| void | initialize (const double &_l1, const int &_emode, const UnitParametersMap ¶ms) |
| | Initialize the unit to perform conversion using singleToTof() and singleFromTof()
|
| |
| bool | isInitialized () const |
| |
| bool | operator!= (const Unit &u) const |
| |
| bool | operator== (const Unit &u) const |
| |
| bool | quickConversion (const Unit &destination, double &factor, double &power) const |
| | Is conversion by constant multiplication possible?
|
| |
| bool | quickConversion (std::string destUnitName, double &factor, double &power) const |
| | Is conversion by constant multiplication possible?
|
| |
| void | toTOF (std::vector< double > &xdata, std::vector< double > const &ydata, const double &_l1, const int &_emode, const UnitParametersMap ¶ms) |
| |
| void | toTOF (std::vector< double > &xdata, std::vector< double > const &ydata, const double &_l1, const int &_emode, std::initializer_list< std::pair< const UnitParams, double > > params) |
| | Convert from the concrete unit to time-of-flight.
|
| |
| | Unit () |
| | (Empty) Constructor
|
| |
| virtual | ~Unit ()=default |
| | Virtual destructor.
|
| |
Time In Second.
Definition at line 572 of file Unit.h.