- // ADC intrinsic parameters
- static const Int_t fgkADCpedestal = 0; // ADC baseline * 100 (old name fPedestal) it is not PFeffectPedestal
- static const Int_t fgkADCnoise = 10; // ADC noise * 100 (not contained in the digitizer) [in ADC]
- static const Int_t fgkADCDAC = 0; // 5 bit ADC gain parameter
-
- // TRAP filter global setup
- static const Bool_t fgkPFon = kTRUE; // Pedestal Filter enable/disable flag.
- static const Bool_t fgkGFon = kFALSE; // Gain correction Filter enable/disable flag
- static const Bool_t fgkTFon = kTRUE; // Tail cancelation Filter enable/disable flag (old name fTCOn)
-
- // PF setup
- static const Int_t fgkPFtimeConstant = 0; // 0 for fastest, 3 for slowest (no effect, probably)
- static const Int_t fgkPFeffectPedestal = 10; // [in ADC units] the desired baseline (Additive)
-
- // GF setup
- static const Int_t fgkGFnoise = 0; // Noise level increased by gain filter x 100 [in ADC] (to be measured)
-
- // TF setup
- static const Int_t fgkTFtype = 1; // TC type (0=analog, 1=digital, 2=MI) (old name fFilterType)
-
- // OLD TF setup (calculated from above) (valid only for fgkTFsimType = 0 or 1)
- static const Int_t fgkTFnExp = 1; // Number of exponential for simType 0 and 1
-
- // following need Instance because initialized in constructor
- Float_t fTFr1; // Time constant [us] long (old name fR1)
- Float_t fTFr2; // Time constant [us] short(old name fR2)
- Float_t fTFc1; // Weight long (old name fC1)
- Float_t fTFc2; // Weight short (old name fC2)
-
- // here is for TRAP simulation (not yet used)
- static const Int_t fgkTFdecayWeightL = 270; // 0 to 1024 corresponds to 0 to 0.5
- static const Int_t fgkTFdecayParL = 348; // 0 to 511 corresponds to 0.75 to 1
- static const Int_t fgkTFdecayParS = 449; // 0 to 511 correponds to 0.25 to 0.5
- static const Int_t fgkTFattPar1 = 45; // attenuationParameter = fgkTFattenuationParameter1/fgkTFattenuationParameter2
- static const Int_t fgkTFattPar2 = 14; // = -alphaL/ln(lambdaL)-(1-alphaL)/ln(lambdaS)
-
- // ZS parameters
- static const Int_t fgkEBsglIndThr = 3; // EBIS in ADC units
- static const Int_t fgkEBsumIndThr = 4; // EBIT in ADC units
- static const Int_t fgkEBindLUT = 0xF0; // EBIL lookup table
- static const Int_t fgkEBignoreNeighbour = 1; // EBIN 0:include neighbor
-
- // Charge accumulators
- static const Int_t fgkPREPqAcc0Start = 0; // Preprocessor Charge Accumulator 0 Start
- static const Int_t fgkPREPqAcc0End = 10; // Preprocessor Charge Accumulator 0 End
- static const Int_t fgkPREPqAcc1Start = 11; // Preprocessor Charge Accumulator 1 Start
- static const Int_t fgkPREPqAcc1End = 20; // Preprocessor Charge Accumulator 1 End
- static const Int_t fgkMinClusterCharge = 20; // Hit detection [in ADC units]
-
- // OLD TRAP processing parameters calculated from above
- //static const Float_t fClusThr; // Cluster threshold
- //static const Float_t fPadThr; // Pad threshold