See header file.
More...
Go to the source code of this file.
|
| static int | quant (double min, double max, unsigned nSteps, double val) |
| static double | unquant (double min, double max, unsigned nSteps, int step) |
| template<typename T> |
| static std::string | to_string (const std::vector< T > &v) |
See header file.
- Author
- Riley Xu - riley.nosp@m..xu@.nosp@m.cern..nosp@m.ch
- Date
- October 31st, 2020
Definition in file FPGATrackSimHoughTransformTool.cxx.
◆ quant()
| int quant |
( |
double | min, |
|
|
double | max, |
|
|
unsigned | nSteps, |
|
|
double | val ) |
|
inlinestatic |
◆ to_string()
template<typename T>
| std::string to_string |
( |
const std::vector< T > & | v | ) |
|
|
inlinestatic |
Definition at line 430 of file FPGATrackSimHoughTransformTool.cxx.
431{
432 std::ostringstream oss;
433 oss << "[";
435 {
436 std::copy(
v.begin(),
v.end()-1, std::ostream_iterator<T>(oss,
", "));
438 }
439 oss << "]";
440 return oss.str();
441}
◆ unquant()
| double unquant |
( |
double | min, |
|
|
double | max, |
|
|
unsigned | nSteps, |
|
|
int | step ) |
|
inlinestatic |