1 #ifndef BEMC_DSM_decoder_H
2 #define BEMC_DSM_decoder_H
7 int BEMC_DSM_L0_decoder(
const unsigned char* rawDsmL0West,
const unsigned char* rawDsmL0East,
int *HighTower,
int* PatchSum);
13 int BEMC_DSM_L1_decoder(
const unsigned short* rawDsmL1,
int* HighTowerBits,
int* PatchSum);
19 int BEMC_DSM_L2_decoder(
const unsigned short* rawDsmL2,
int* HighTowerBits,
int* PatchSumBits,
int* PatchSum);
27 int BEMC_DSM_L3_decoder(
const unsigned short* rawDsmL3,
int* HighTowerBits,
int* PatchSumBits,
int* BackToBackBit,
int *JPsiTopoBit,
int *JetPatchTopoBit);
29 int getFEEpedestal(
float towerPedestal,
float pedestalShift,
bool debug =
false);
30 void simulateFEEaction(
int adc,
int ped,
int bitConv,
int &ht,
int &pa,
bool debug =
false);
31 void simulateFEELUT(
int sum,
int formula,
int parameter0,
int parameter1,
int parameter2,
int parameter3,
int parameter4,
int parameter5,
int numberOfMaskedTowers,
int pedestalShift,
int &lut,
bool debug =
false);