Skip to content
Snippets Groups Projects
Commit 5183d89f authored by Alexandru Bercuci's avatar Alexandru Bercuci
Browse files

add gain calibration

parent 2662b23b
No related branches found
No related tags found
1 merge request!2028Trd2d online - finner time calibration
...@@ -162,7 +162,7 @@ namespace cbm::algo::trd2d ...@@ -162,7 +162,7 @@ namespace cbm::algo::trd2d
}; };
struct ChanDescriptor { struct ChanDescriptor {
bool maskFlag; /// HW mask flag for channel bool maskFlag; /// HW mask flag for channel
uint8_t tOffset; /// time [clk] correction int8_t tOffset; /// time [clk] correction
float baseline; /// Baseline correction for channel float baseline; /// Baseline correction for channel
float gainfee; /// ASIC gain deviation for channel float gainfee; /// ASIC gain deviation for channel
ChanNoise noise; /// noise descriptor [ChanNoise] ChanNoise noise; /// noise descriptor [ChanNoise]
......
...@@ -119,7 +119,7 @@ namespace cbm::algo::trd2d ...@@ -119,7 +119,7 @@ namespace cbm::algo::trd2d
struct UnpackChannelPar { struct UnpackChannelPar {
int32_t fPadAddress; ///< Pad address for channel int32_t fPadAddress; ///< Pad address for channel
bool fMask; ///< Flag for channel masking bool fMask; ///< Flag for channel masking
uint8_t fDaqOffset = 0; ///< Time calibration parameter int8_t fDaqOffset = 0; ///< Time calibration parameter
uint16_t fSignalThres = 0; ///< Signal threshold to remove ringing channels uint16_t fSignalThres = 0; ///< Signal threshold to remove ringing channels
}; };
...@@ -151,7 +151,7 @@ namespace cbm::algo::trd2d ...@@ -151,7 +151,7 @@ namespace cbm::algo::trd2d
**/ **/
struct CalibChannelPar { struct CalibChannelPar {
bool fMask = false; ///< Flag for channel masking bool fMask = false; ///< Flag for channel masking
uint8_t fDaqOffset = 0; ///< Time calibration parameter int8_t fDaqOffset = 0; ///< Time calibration parameter
float fBaseline = 0.; ///< baseline correction float fBaseline = 0.; ///< baseline correction
float fGainFee = -1.; ///< gain correction wrt to reference float fGainFee = -1.; ///< gain correction wrt to reference
NoiseChannelPar noise = {}; ///< noise channel parametrisation NoiseChannelPar noise = {}; ///< noise channel parametrisation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment