Difference between revisions of "CDC Hit Generation"

From GlueXWiki
Jump to: navigation, search
(CDC Hits from CDCDigi Hits)
(CDC Hits from CDCDigi Hits)
Line 3: Line 3:
 
* the code that converts raw hits from the fADC125s of the CDC into actual CDC Hits is done in several steps:
 
* 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 here: <br> ''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 here: <br> ''double amp = amp_a_scale*gain*double(maxamp);''
** In the following pictures the top row of 3 histograms shows the signal amplitude vs signal integral as reported by the FPGA of the fADC125. This raw data is taken from DCDCDigiHit objects generated from DCDCPulse objects. The 2d histogram in the bottom row on the left is amplitude vs drift time however these data were taken from the DCDCHit objects which does apply a scale and gain correction to the signal amplituded and converts the drift time into units of ns.
+
** In the following pictures the top row of 3 histograms shows the signal amplitude in ADC counts vs drift-time converted to ns as reported by the FPGA of the fADC125. This raw data is taken from DCDCDigiHit objects generated from DCDCPulse objects. The 2d histogram in the bottom row on the left is amplitude vs drift time however these data were taken from the DCDCHit objects which does apply a scale and gain correction to the signal amplitude.
  
  

Revision as of 19:40, 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 here:
      double amp = amp_a_scale*gain*double(maxamp);
    • In the following pictures the top row of 3 histograms shows the signal amplitude in ADC counts vs drift-time converted to ns as reported by the FPGA of the fADC125. This raw data is taken from DCDCDigiHit objects generated from DCDCPulse objects. The 2d histogram in the bottom row on the left is amplitude vs drift time however these data were taken from the DCDCHit objects which does apply a scale and gain correction to the signal amplitude.


Example Run 120594 without(left) and with(right) cut at 180 for raw adc signal peak
Cdc hits run120591 noCDCcut.gif Cdc hits run120591 withCDCcutat180.gif


Example Run 72780 without(left) and with(right) cut at 180 for raw adc signal peak
Cdc hits run72780 noCDCcut.gif Cdc hits run72780 withCDCcutat180.gif


Example Run 72840 without(left) and with(right) cut at 180 for raw adc signal peak
Cdc hits run72840 noCDCcut.gif Cdc hits run72840 withCDCcutat180.gif