FEQ: Make New Equalization Map
Jump to navigation
Jump to search
To make a new equalization map, you can do the followin:
- scan an area without any equalizaton map (go to odyssey and just delete the link to the map file)
- use this area as a reference (1x1 cm2 should be enough). NOTE: you always use this fiel again as reference, so do not overwrite it later.
- use the script feq.C
- modify first: XPIX=1280, YPIX=1024, PIXX=-0.3 and PIXY=0.3 according to your camera settings - modify TFile::Open("MYFILE.raw.root"); - adapt the number in the two makemap(scantop,feqto,0.7) for top and bottom (start with 0.7 to begin)
- launch root feq.C - two *r8 files are created, copy those to the sysal direcotry.
- link the two files in the odyssey (initialize after each change)
- scan again some area (now with the new equalisaton map) and then check the quality (check_raw.C)
- if not yet ok, go back to the feq.C file, adapt the number in makemap according to your needs, repeat the scanning, check quality, copy files, initialize.