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 429 of file FPGATrackSimHoughTransformTool.cxx.
430{
431 std::ostringstream oss;
432 oss << "[";
434 {
435 std::copy(
v.begin(),
v.end()-1, std::ostream_iterator<T>(oss,
", "));
437 }
438 oss << "]";
439 return oss.str();
440}
◆ unquant()
| double unquant |
( |
double | min, |
|
|
double | max, |
|
|
unsigned | nSteps, |
|
|
int | step ) |
|
inlinestatic |