20 enum { mxRdo=(L2EmcDb::BTOW_MAXFEE*L2EmcDb::BTOW_DATSIZE) ,mxEtaBin=40, mxPhiBin=120, mxSubs=10 };
22 float idealGain2Ene[mxEtaBin];
24 float gain2ET_rdo[mxRdo];
25 float gain2Ene_rdo[mxRdo];
26 unsigned short ped_shifted_rdo[mxRdo];
27 unsigned short thr_rdo[mxRdo];
28 unsigned short ped_rdo[mxRdo];
30 memset(gain2ET_rdo, 0 ,
sizeof(gain2ET_rdo));
31 memset(gain2Ene_rdo, 0 ,
sizeof(gain2Ene_rdo));
32 memset(ped_shifted_rdo, 0,
sizeof(ped_shifted_rdo));
33 memset(thr_rdo, 0xFFFF,
sizeof(thr_rdo));
34 memset(ped_rdo, 0,
sizeof(ped_rdo));
41 enum { mxRdo=(L2EmcDb::ETOW_MAXFEE*L2EmcDb::ETOW_DATUSED) ,mxEtaBin=12, mxPhiBin=60, mxSubs=5 };
43 float idealGain2Ene[mxEtaBin];
45 float gain2ET_rdo[mxRdo];
46 float gain2Ene_rdo[mxRdo];
47 unsigned short ped_shifted_rdo[mxRdo];
48 unsigned short thr_rdo[mxRdo];
49 unsigned short ped_rdo[mxRdo];
51 memset(gain2ET_rdo, 0 ,
sizeof(gain2ET_rdo));
52 memset(gain2Ene_rdo, 0 ,
sizeof(gain2Ene_rdo));
53 memset(ped_shifted_rdo, 0,
sizeof(ped_shifted_rdo));
54 memset(thr_rdo, 0xFFFF,
sizeof(thr_rdo));
55 memset(ped_rdo, 0,
sizeof(ped_rdo));
67 float getMaxET(){
return par_maxET;}
68 float getIdealAdc2ET(){
return par_maxADC/par_maxET;}