#include <cstdint>
#include <vector>
#include <cmath>
Go to the source code of this file.
Functions | |
void | vhdl_int_to_signed (int value, std::vector< int > &v) |
void | vhdl_int_to_unsigned (int value, std::vector< int > &v) |
void | vhdl_resize_signed (std::vector< int > &v, int new_size) |
bool | vhdl_resize_signed_ok (std::vector< int > v, int new_size) |
void | vhdl_resize_unsigned (std::vector< int > &v, int new_size) |
bool | vhdl_resize_unsigned_ok (std::vector< int > v, int new_size) |
int | vhdl_signed_to_int (std::vector< int > v) |
std::vector< int > | vhdl_slice (std::vector< int > v, int upper, int lower) |
int | vhdl_unsigned_to_int (std::vector< int > v) |
void vhdl_int_to_signed | ( | int | value, |
std::vector< int > & | v | ||
) |
Definition at line 44 of file vhdl_functions.cc.
References mps_fire::i, findQualityFiles::size, findQualityFiles::v, heppy_batch::val, and vhdl_int_to_unsigned().
Referenced by MPCorFilter::coarsify(), and MuonPathFitter::fit().
void vhdl_int_to_unsigned | ( | int | value, |
std::vector< int > & | v | ||
) |
Definition at line 32 of file vhdl_functions.cc.
References findQualityFiles::v.
Referenced by MPCorFilter::coarsify(), MuonPathFitter::fit(), MPSLFilter::get_chi2(), MPCorFilter::get_chi2(), and vhdl_int_to_signed().
void vhdl_resize_signed | ( | std::vector< int > & | v, |
int | new_size | ||
) |
Definition at line 70 of file vhdl_functions.cc.
References mps_fire::i, and findQualityFiles::v.
Referenced by MPCorFilter::coarsify(), and MuonPathFitter::fit().
bool vhdl_resize_signed_ok | ( | std::vector< int > | v, |
int | new_size | ||
) |
Definition at line 79 of file vhdl_functions.cc.
References mps_fire::i, and findQualityFiles::v.
Referenced by MuonPathFitter::fit().
void vhdl_resize_unsigned | ( | std::vector< int > & | v, |
int | new_size | ||
) |
Definition at line 64 of file vhdl_functions.cc.
References mps_fire::i, and findQualityFiles::v.
Referenced by MPCorFilter::coarsify(), MuonPathFitter::fit(), MPSLFilter::get_chi2(), and MuonPathFitter::RomDataConvert().
bool vhdl_resize_unsigned_ok | ( | std::vector< int > | v, |
int | new_size | ||
) |
Definition at line 87 of file vhdl_functions.cc.
References mps_fire::i, and findQualityFiles::v.
Referenced by MuonPathFitter::fit().
int vhdl_signed_to_int | ( | std::vector< int > | v | ) |
Definition at line 25 of file vhdl_functions.cc.
References funct::pow(), findQualityFiles::v, and vhdl_unsigned_to_int().
Referenced by MPCorFilter::coarsify(), and MuonPathFitter::fit().
std::vector<int> vhdl_slice | ( | std::vector< int > | v, |
int | upper, | ||
int | lower | ||
) |
Definition at line 4 of file vhdl_functions.cc.
References mps_fire::i, and findQualityFiles::v.
Referenced by MPCorFilter::coarsify(), MPSLFilter::get_chi2(), and MuonPathFitter::RomDataConvert().
int vhdl_unsigned_to_int | ( | std::vector< int > | v | ) |
Definition at line 16 of file vhdl_functions.cc.
References mps_fire::i, funct::pow(), and findQualityFiles::v.
Referenced by MPCorFilter::coarsify(), MPSLFilter::get_chi2(), MuonPathSLFitter::get_rom_addr(), MuonPathCorFitter::get_rom_addr(), and vhdl_signed_to_int().