Difference between revisions of "CDC prototype fADC data"
(One intermediate revision by the same user not shown) | |||
Line 29: | Line 29: | ||
Fit attempt 1<br/> | Fit attempt 1<br/> | ||
− | Use pedestal before peak, max peak amplitude, end of peak. | + | Use pedestal before peak, max peak amplitude, end of peak. Function fitted to many events for range end-of-peak to final sample was <br/> |
+ | pedestal + 0.14 * maxamp * exp(-0.0056*(x-endpeak)) <br/> | ||
+ | where x=sample number; maxamp= maximum peak value; endpeak=sample number of 2 samples after the last sample where ADC value is at least 20 less than the previous sample; pedestal=mean of 100 samples before the peak starts (the peak starts at the sample where the adc value exceeds pedestal mean + 5 x pedestal standard deviation for samples 0-100). The constants were the mean values of the fitted function parameters. | ||
{| border="0" cellpadding="2" | {| border="0" cellpadding="2" | ||
Line 53: | Line 55: | ||
|width="300pt"| | |width="300pt"| | ||
[[Image:fit2411.png|thumb|300px]] | [[Image:fit2411.png|thumb|300px]] | ||
− | |||
|width="300pt"| | |width="300pt"| | ||
[[Image:fit704.png|thumb|300px]] | [[Image:fit704.png|thumb|300px]] | ||
Line 61: | Line 62: | ||
Use pedestal before peak, end of peak, integrated peak. Function fitted to many events for range end-of-peak to final sample was | Use pedestal before peak, end of peak, integrated peak. Function fitted to many events for range end-of-peak to final sample was | ||
<br/> | <br/> | ||
− | pedestal + 0.0074 * integratedpeak * exp(-0.0056*(x-endpeak)) <br/>where x=sample number. The constants were the mean values of the fitted function parameters. | + | pedestal + 0.0074 * integratedpeak * exp(-0.0056*(x-endpeak)) <br/> |
+ | where x=sample number; pedestal=mean of 100 samples before the start of the peak; integrated peak=integration from start of peak to end of peak. The constants were the mean values of the fitted function parameters. | ||
{| border="0" cellpadding="2" | {| border="0" cellpadding="2" | ||
|width="800pt"| | |width="800pt"| | ||
[[Image:1exp-int.png|thumb|800px ]] | [[Image:1exp-int.png|thumb|800px ]] | ||
+ | |} | ||
+ | {| border="0" cellpadding="2" | ||
+ | |width="300pt"| | ||
+ | [[Image:int133.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int147.png|thumb|300px]] | ||
+ | |- | ||
+ | |width="300pt"| | ||
+ | [[Image:int167.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int266.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int428.png|thumb|300px]] | ||
+ | |- | ||
+ | |width="300pt"| | ||
+ | [[Image:int334.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int2411.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int704.png|thumb|300px]] | ||
+ | |} | ||
+ | |||
+ | Fit attempt 3<br/> | ||
+ | Use pedestal before peak, end of peak, integrated peak as for attempt 2 but use spot pedestal value instead of mean. Function fitted to many events for range end-of-peak to final sample was | ||
+ | <br/> | ||
+ | pedestal + 0.0072 * integratedpeak * exp(-0.00568*(x-endpeak)) <br/> | ||
+ | where x=sample number; pedestal=adc value 3 samples before the start of the peak; integrated peak=integration from start of peak to end of peak. The constants were the mean values of the fitted function parameters. | ||
+ | |||
+ | {| border="0" cellpadding="2" | ||
+ | |width="800pt"| | ||
+ | [[Image:1exp-int2.png|thumb|800px ]] | ||
+ | |} | ||
+ | {| border="0" cellpadding="2" | ||
+ | |width="300pt"| | ||
+ | [[Image:int2fit133.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int2fit147.png|thumb|300px]] | ||
+ | |- | ||
+ | |width="300pt"| | ||
+ | [[Image:int2fit167.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int2fit266.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int2fit428.png|thumb|300px]] | ||
+ | |- | ||
+ | |width="300pt"| | ||
+ | [[Image:int2fit334.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int2fit2411.png|thumb|300px]] | ||
+ | |width="300pt"| | ||
+ | [[Image:int2fit704.png|thumb|300px]] | ||
|} | |} |
Latest revision as of 14:11, 28 October 2011
Data from cosmics with 50/50 gas, 2100V
Fit attempt 1
Use pedestal before peak, max peak amplitude, end of peak. Function fitted to many events for range end-of-peak to final sample was
pedestal + 0.14 * maxamp * exp(-0.0056*(x-endpeak))
where x=sample number; maxamp= maximum peak value; endpeak=sample number of 2 samples after the last sample where ADC value is at least 20 less than the previous sample; pedestal=mean of 100 samples before the peak starts (the peak starts at the sample where the adc value exceeds pedestal mean + 5 x pedestal standard deviation for samples 0-100). The constants were the mean values of the fitted function parameters.
Fit attempt 2
Use pedestal before peak, end of peak, integrated peak. Function fitted to many events for range end-of-peak to final sample was
pedestal + 0.0074 * integratedpeak * exp(-0.0056*(x-endpeak))
where x=sample number; pedestal=mean of 100 samples before the start of the peak; integrated peak=integration from start of peak to end of peak. The constants were the mean values of the fitted function parameters.
Fit attempt 3
Use pedestal before peak, end of peak, integrated peak as for attempt 2 but use spot pedestal value instead of mean. Function fitted to many events for range end-of-peak to final sample was
pedestal + 0.0072 * integratedpeak * exp(-0.00568*(x-endpeak))
where x=sample number; pedestal=adc value 3 samples before the start of the peak; integrated peak=integration from start of peak to end of peak. The constants were the mean values of the fitted function parameters.