|
void | o2::tpc::cru_calib_helpers::debugDiff (std::string_view file1, std::string_view file2, std::string_view objName) |
| debug differences between two cal pad objects
|
|
void | o2::tpc::cru_calib_helpers::testChannelMapping (int cruID=0) |
|
int | o2::tpc::cru_calib_helpers::getHWChannel (int sampa, int channel, int regionIter) |
| return the hardware channel number as mapped in the CRU
|
|
std::tuple< int, int > | o2::tpc::cru_calib_helpers::getSampaInfo (int hwChannel, int cruID) |
| convert HW mapping to sampa and channel number
|
|
template<uint32_t DataBitSizeT = 12, uint32_t SignificantBitsT = 2> |
constexpr uint32_t | o2::tpc::cru_calib_helpers::floatToFixedSize (float value) |
| convert float to integer with fixed precision and max number of digits
|
|
template<uint32_t SignificantBitsT = 2> |
constexpr float | o2::tpc::cru_calib_helpers::fixedSizeToFloat (uint32_t value) |
|
template<typename DataMap > |
void | o2::tpc::cru_calib_helpers::writeValues (const std::string_view fileName, const DataMap &map, bool onlyFilled=false) |
|
template<typename DataMap , uint32_t SignificantBitsT = 0> |
std::enable_if_t< is_map< DataMap >::value, void > | o2::tpc::cru_calib_helpers::fillCalPad (CalDet< float > &calPad, const DataMap &map) |
|
template<uint32_t SignificantBitsT = 2> |
int | o2::tpc::cru_calib_helpers::fillCalPad (CalDet< float > &calPad, std::istream &infile) |
| fill cal pad object from HW value stream
|
|
template<uint32_t SignificantBitsT = 2> |
int | o2::tpc::cru_calib_helpers::fillCalPad (CalDet< float > &calPad, gsl::span< const char > data) |
| fill cal pad object from HW value buffer
|
|
template<uint32_t SignificantBitsT = 2> |
o2::tpc::CalDet< float > | o2::tpc::cru_calib_helpers::getCalPad (const std::string_view fileName, const std::string_view outputFile="", std::string_view calPadName="") |
|
std::unordered_map< std::string, CalPad > | o2::tpc::cru_calib_helpers::preparePedestalFiles (const CalPad &pedestals, const CalPad &noise, std::vector< float > sigmaNoiseROCType={3, 3, 3, 3}, std::vector< float > minADCROCType={2, 2, 2, 2}, float pedestalOffset=0, bool onlyFilled=false, bool maskBad=true, float noisyChannelThreshold=1.5, float sigmaNoiseNoisyChannels=4, float badChannelThreshold=6, bool fixedSize=false) |
|