Changeset 5724 for trunk/MagicSoft/Mars/mtemp/mmpi
- Timestamp:
- 01/07/05 17:10:21 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mmpi/macros/noise_autocorrelation_AB.C
r5116 r5724 49 49 50 50 MPedCalcFromLoGain pedcalc_ped; 51 pedcalc_ped.SetMaxHiGainVar(20);52 pedcalc_ped.SetRange(0, 11, 1, 14);53 pedcalc_ped.SetWindowSize(12,14);51 //pedcalc_ped.SetMaxHiGainVar(20); 52 //pedcalc_ped.SetRange(0, 11, 1, 14); 53 //pedcalc_ped.SetWindowSize(12,14); 54 54 pedcalc_ped.SetPedestalUpdate(kFALSE); 55 55 tlist_ped.AddToList(&pedcalc_ped); … … 185 185 bj[slice]+= higains[slice]-PedMean[(slice+ABFlag)&0x1]; 186 186 for (int ii = 0; ii< nh; ii++){ 187 B[slice][ii]+=(higains[slice]-PedMean[(slice+ABFlag)&0x1])*(higains[ii]-PedMean[( slice+ABFlag)&0x1]);187 B[slice][ii]+=(higains[slice]-PedMean[(slice+ABFlag)&0x1])*(higains[ii]-PedMean[(ii+ABFlag)&0x1]); 188 188 } 189 189 }
Note:
See TracChangeset
for help on using the changeset viewer.