11#include <xpu/defines.h>
79 "Asic definitions. Currently assumes same parameters for all asics."),
81 "Total number of channels per module. Hitfinder assumes nChannels / 2 channels per side."),
#define CBM_YAML_EXTERN_DECL(type)
Declare the external instantiation of the Read and Dump functions for a type.
XPU_D float AdcToCharge(unsigned short adc) const
CBM_YAML_PROPERTIES(yaml::Property(&Asic::nAdc, "nAdc"), yaml::Property(&Asic::dynamicRange, "dynamicRange"), yaml::Property(&Asic::threshold, "threshold"), yaml::Property(&Asic::timeResolution, "timeResolution"), yaml::Property(&Asic::deadTime, "deadTime"), yaml::Property(&Asic::noise, "noise"), yaml::Property(&Asic::zeroNoiseRate, "zeroNoiseRate"))
CBM_YAML_PROPERTIES(yaml::Property(&Module::address, "address", "Hardware Address", YAML::Hex), yaml::Property(&Module::dY, "dY"), yaml::Property(&Module::pitch, "pitch"), yaml::Property(&Module::stereoF, "stereoF"), yaml::Property(&Module::stereoB, "stereoB"), yaml::Property(&Module::lorentzF, "lorentzF"), yaml::Property(&Module::lorentzB, "lorentzB"), yaml::Property(&Module::localToGlobal, "localToGlobal"))
ModuleTransform localToGlobal
std::vector< Module > modules
CBM_YAML_PROPERTIES(yaml::Property(&HitfinderPars::asic, "asic", "Asic definitions. Currently assumes same parameters for all asics."), yaml::Property(&HitfinderPars::nChannels, "nChannels", "Total number of channels per module. Hitfinder assumes nChannels / 2 channels per side."), yaml::Property(&HitfinderPars::modules, "modules"))