CDC Hit Generation

From GlueXWiki
Revision as of 09:52, 2 May 2024 by Zihlmann (Talk | contribs) (Created page with "=== 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_C...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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);