Instruction to build & load pedestals for EEMC FEEs
The parameter are: ezTree event file name and number of events you want to process.
The default directory for the input data is
'/home/online/mini/trees/towerFeePed/' .
It is expected the event file is copied there and renamed (e.g. use month & day in the name)
name Nentries chi2 gaus_ampl gaus_mean gaus_sig err_ampl err_mean err_sig cr1-ch000 1570 21.540 508.820 14.48 1.17 15.73 0.03 0.02 cr1-ch001 1570 7.717 591.958 17.87 1.02 19.37 0.03 0.02 ...
// Fit range max -low, max+high, default: max-5, max+4 if(cr==4 && chan==13) ret=pedH->fitPed(h,8); if(cr==4 && chan==95) ret=pedH->fitPed(h,20); if(cr==5 && chan==95) ret=pedH->fitPed(h,12,12); else ret=pedH->fitPed(h);Remember to send to CVS the latest version of macros/feePed.C, or whatever you did will be lost during nest update of the code.
/home/star/ezGames/feePed4 -rw-rw-r-- 1 online online 96 Apr 16 12:07 crate3board1.ped4 -rw-rw-r-- 1 online online 68 Apr 16 12:07 crate3board2.ped4 -rw-rw-r-- 1 online online 64 Apr 16 12:07 crate3board3.ped4 ....In the same directory one gets a summary ped4-file 'all' (for easire view) and histograms stored in feePed.hist.root may be viewed with
last year instruction below
There are five buttons: 1) Read attempts to read 32 pedestal values from addresses 0x63000-0x6301E (1-16) and 0x67000-0x6701E (17-32) 2) Write attempts to write 32 pedestal values from addresses 0x63000-0x6301E (1-16) and 0x67000-0x6701E (17-32) 0x6B000-0x6B01E (1-16) and 0x6F000-0x6F01E (17-32) 3) Defaults attempts to load ped/default/crate${cn}board${bd}.ped4 file into editor page (replace ${cn} and ${bd} with current crate/board number) Note: the default pedestal files created by 'doFeePed' need to be copied each time from eemc-sc:~online/mini/tcl/ped/new to eemc-sc:~online/mini/tcl/ped/default Since there is no online DB archive for ped4 files, do not discard old ones. 4) Load/File allows to select a file (*.ped4) and loads the pedestals from it to the editor page 5) Save/File allows to save pedestal values to a file 6) Dismiss close the pedestal page