 |
Belle II Software
release-05-02-19
|
36 class ECLDspData:
public TObject {
81 std::vector<short int>
m_f = {};
83 std::vector<short int>
m_f1 = {};
107 explicit ECLDspData(
unsigned char board_number = 0) :
300 void packCoefVector(
const std::vector<short int>& src, std::vector<short int>& dst);
306 void unpackCoefVector(
const std::vector<short int>& src, std::vector<short int>& dst)
const;
unsigned char m_kb
Number of bits for FG32.
std::vector< short int > m_f
See documentation for method 'getF'.
void setF32(const std::vector< short int > &src)
Array FG32, used to estimate A * delta_t.
void getF31(std::vector< short int > &dst) const
Array FG31, used to estimate signal amplitude.
void setaAT(short int val)
Set Low amp threshold (https://confluence.desy.de/display/BI/Electronics+Thresholds)
unsigned char getk1() const
multipliers power of 2 for f, f1
short int m_lowAmpThresh
See https://confluence.desy.de/display/BI/Electronics+Thresholds.
void setExtraData(const std::vector< short int > &newval)
SETTERS.
void setchiThresh(short int val)
Set chi2 threshold for fit quality flag.
unsigned char m_verMaj
Major version of DSP coefficients.
short int getchiThresh() const
chi2 threshold for fit quality flag
std::vector< short int > m_fg43
See documentation for method 'getF43'.
void setF1(const std::vector< short int > &src)
Array with tabulated derivative of signal waveform.
std::vector< short int > m_extraData
This vector contains all parameters that didn't exist in the initial version of ECL DSP file format.
void setF(const std::vector< short int > &src)
Array with tabulated signal waveform.
std::vector< short int > m_fg41
See documentation for method 'getF41'.
void getF41(std::vector< short int > &dst) const
Alternative for FG31 for signals with small amplitude.
void setk2(unsigned char val)
Set multipliers power of 2 for chi2 calculation.
unsigned char getverMin() const
void sety0Startr(unsigned char val)
Set start point for pedestal calculation.
unsigned char getkc() const
Number of bits for FG33, FG43.
void setverMin(unsigned char val)
Sets minor version of DSP coefficients.
void setka(unsigned char val)
Set number of bits for FG31, FG41.
unsigned char m_verMin
Minor version of DSP coefficients.
void setkc(unsigned char val)
Set number of bits for FG33, FG43.
void setF31(const std::vector< short int > &src)
Array FG31, used to estimate signal amplitude.
unsigned char getBoardNumber() const
Return ShaperDSP board number, 0..11.
unsigned char getverMaj() const
short int m_chiThresh
chi2 threshold for quality bit
static const short int c_packerVersion
Version of packer used in packCoefVector by default Versioon of unpacker is dynamically determined fr...
void setverMaj(unsigned char val)
Sets major version of DSP coefficients.
This object contains ECL DSP coefs – electromagnetic calorimeter digital signal processing coefficien...
ClassDef(ECLDspData, 1)
ClassDef.
void sethT(short int val)
Set Hit threshold (https://confluence.desy.de/display/BI/Electronics+Thresholds)
void setk1(unsigned char val)
Set multipliers power of 2 for f, f1.
short int m_adcAlwThresh
See https://confluence.desy.de/display/BI/Electronics+Thresholds.
void setF43(const std::vector< short int > &src)
Alternative for FG33 for signals with small amplitude.
void getF(std::vector< short int > &dst) const
Array with tabulated signal waveform.
Abstract base class for different kinds of events.
unsigned char getka() const
Number of bits for FG31, FG41.
void setF33(const std::vector< short int > &src)
Array FG33, used to estimate pedestal height in signal.
void packCoefVector(const std::vector< short int > &src, std::vector< short int > &dst)
Convert vector of DSP coefficients (src) to ECLDspData internal format (dst).
void getF33(std::vector< short int > &dst) const
Array FG33, used to estimate pedestal height in signal.
void getF43(std::vector< short int > &dst) const
Alternative for FG33 for signals with small amplitude.
std::vector< short int > m_fg31
See documentation for method 'getF31'.
void getF1(std::vector< short int > &dst) const
Array with tabulated derivative of signal waveform.
unsigned char m_boardNumber
ShaperDSP board number, 0..11.
short int m_skipThresh
See https://confluence.desy.de/display/BI/Electronics+Thresholds.
void setlAT(short int val)
Set Low amp threshold (https://confluence.desy.de/display/BI/Electronics+Thresholds)
void setF41(const std::vector< short int > &src)
Alternative for FG31 for signals with small amplitude.
unsigned char gety0Startr() const
start point for pedestal calculation
void setkb(unsigned char val)
Set number of bits for FG32.
unsigned char getk2() const
multipliers power of 2 for chi2 calculation
std::vector< short int > getExtraData() const
std::vector< short int > m_fg32
See documentation for method 'getF32'.
unsigned char m_k2Chi
multipliers power of 2 for chi2 calculation
std::vector< short int > m_f1
See documentation for method 'getF1'.
static short int getPackerVersion()
GETTERS.
unsigned char m_ka
Number of bits for FG31, FG41.
void getF32(std::vector< short int > &dst) const
Array FG32, used to estimate A * delta_t.
unsigned char getkb() const
Number of bits for FG32.
unsigned char m_kc
Number of bits for FG33, FG43.
unsigned char m_k1Chi
multipliers power of 2 for f, f1
void setsT(short int val)
Set Skip threshold (https://confluence.desy.de/display/BI/Electronics+Thresholds)
std::vector< short int > m_fg33
See documentation for method 'getF33'.
unsigned char m_y0Startr
start point for pedestal calculation
ECLDspData(unsigned char board_number=0)
Initialize DSP coefficients class from binary file.
void unpackCoefVector(const std::vector< short int > &src, std::vector< short int > &dst) const
Convert vector of DSP coefficients (src) to ECLDspData internal format (dst).
short int m_hitThresh
See https://confluence.desy.de/display/BI/Electronics+Thresholds.