Difference between revisions of "CDC Hit Generation"
From GlueXWiki
(→CDC Hits from CDCDigi Hits) |
(→CDC Hits from CDCDigi Hits) |
||
Line 13: | Line 13: | ||
'''''Example Run 72780 without(left) and with(right) cut at 180 for raw adc signal peak'''''<br> | '''''Example Run 72780 without(left) and with(right) cut at 180 for raw adc signal peak'''''<br> | ||
[[File:cdc_hits_run72780_noCDCcut.gif |300px]] [[File:cdc_hits_run72780_withCDCcutat180.gif |300px]] | [[File:cdc_hits_run72780_noCDCcut.gif |300px]] [[File:cdc_hits_run72780_withCDCcutat180.gif |300px]] | ||
+ | |||
+ | |||
+ | '''''Example Run 72840 without(left) and with(right) cut at 180 for raw adc signal peak'''''<br> | ||
+ | [[File:cdc_hits_run72840_noCDCcut.gif |300px]] [[File:cdc_hits_run72840_noCDCcut.gif |300px]] |
Revision as of 15:24, 2 May 2024
CDC Hits from CDCDigi Hits
- the code that converts raw hits from the fADC125s of the CDC into actual CDC Hits is done in several steps:
- the code DCDCHit_factory_Calib.cc takes the raw CDCDigiHits and create CDCHits based on the raw information. In this process the pedestal is subtracted from the signal peak amplitude and the integral and in addition the amplitude is converted into an energy based on calibration data. A code snipet of this procedure is shown below:
double amp = amp_a_scale*gain*double(maxamp);
- the code DCDCHit_factory_Calib.cc takes the raw CDCDigiHits and create CDCHits based on the raw information. In this process the pedestal is subtracted from the signal peak amplitude and the integral and in addition the amplitude is converted into an energy based on calibration data. A code snipet of this procedure is shown below:
Example Run 120594 without(left) and with(right) cut at 180 for raw adc signal peak
Example Run 72780 without(left) and with(right) cut at 180 for raw adc signal peak
Example Run 72840 without(left) and with(right) cut at 180 for raw adc signal peak