24 Altro(
int timebins,
short* Channel);
27 void ConfigAltro(
int ONBaselineCorrection1,
int ONTailcancellation,
int ONBaselineCorrection2,
int ONClipping,
int ONZerosuppression);
28 void ConfigBaselineCorrection_1(
int mode,
int ValuePeDestal,
int *PedestalMem,
int polarity);
29 void ConfigTailCancellationFilter(
int K1,
int K2,
int K3,
int L1,
int L2,
int L3);
30 void ConfigBaselineCorrection_2(
int HighThreshold,
int LowThreshold,
int Offset,
int Presamples,
int Postsamples);
31 void ConfigZerosuppression(
int Threshold,
int MinSamplesaboveThreshold,
int Presamples,
int Postsamples);
32 void PrintParameters();
34 float calculatecompression();
36 enum { DIN_FPD, DIN_FT, DIN_FDIN, DIN_FDIN_VPD, DIN_VPD_FPD, DIN_VPD_FT, DIN_VPD_FDIN, DIN_VPD_FDIN_VPD, FDIN_FPD, FDIN_VPD_FPD, FT_FPD, FT_FT, FDIN_FDIN,FDIN_VPD_FDIN_VPD, DIN_FPD1, DIN_FPD2
75 int fBSL1ValuePeDestal;
76 int* fBSL1PedestalMem;
93 int fBSL2HighThreshold;
94 int fBSL2LowThreshold;
100 int fZSUMinSamplesaboveThreshold;
104 void BaselineCorrection_1(
int mode,
int FixedPeDestal,
int *PedestalMem,
int polarity);
105 void TailCancellationFilter_FixedPoint(
int K1,
int K2,
int K3,
int L1,
int L2,
int L3);
106 void BaselineCorrection_2_RTL(
int HighThreshold,
int LowThreshold,
int Offset,
int Presamples,
int Postsamples);
108 void Zerosuppression(
int Threshold,
int MinSamplesaboveThreshold,
int Presamples,
int Postsamples);
110 short getElement(
short* Array,
int index);
111 void setElement(
short* Array,
int index,
short value);
113 int inBand(
int ADC,
int bsl,
int LowThreshold,
int HighThreshold);
114 int inRange(
int parameter,
int Low,
int High,
const char *Module,
const char *ParameterName);
115 short GetShortChannel(
int i);
116 short GetKeepChannel(
int i);
117 int multiply36(
int P,
int N);
118 long long mask(
long long in,
int left,
int right);
119 long long maskandshift(
long long in,
int left,
int right);