Contents
Noise Analysis
Noise runs (ahcCm/PmNoise) are evaluated with the ahcBinHst, a standard programm from the DAQ-software. To get the output for a certain module, you have to give the slot/frontend for this module as parameters (can be found in AHC.cfg on DAQ computer(calice02)):
ahcBinHst -s slot -f 00000000 <runNumber>
the "00000000" is a bit pattern. set "1" instead of "0" for the frontends which should be evaluated. The output are root files which contain histograms for every single channel. These can be further evaluated with a set of scripts:
ChanneltestWriter.C
This script stores the RMS for the pedestal of a ASIC readout chip into a single histogram. This is done for all chips.
=== ChanneltestDrawer.c ===
This script takes the output of the ChanneltestWriter.C for several input files (e.g. NoiseRun with SiPM on/off, testbeamdata, etc) and draws them into a single canvas, so you see the dead channels(no difference of RMS between SiPM on/off) and comparison to testbeamdata.
Coherent/Incoherent Noise Analysis
The is a special script (on calice027daq computer) to check the coherent and incoherent noise of the ASIC chips of an individual module: ahcBinNoise
Usage:
ahcBinNoise -s <slot> -F <fe> <runNumber>
RMSincoherent = RMSaltSum / nchannels
RMScoherent = Sqrt(RMSdirSum2 - RMSaltSum2)
Good value for incoherent noise: 7
Good value for coherent noise : 2
Gain Analysis
Hold Analysis
Currently (08.2010) the Holdscan analysis is done with a programm from Beni Lutz called ahcBinHold and a script called holdMultiModule (Manual in eLog). The programm and the script can be found on the caliceAna computer in directory "DAQ/daquser". Use it the following way:
ahcBinHold <runNumber>
The output are files named hold_moduleX.dat with "X" as the module number. Then use the script:
root -l "holdMultiModule.c(<moduleNumber>)"
