90 likes | 177 Views
Code to add dEdx infos in the dst of the 2002 data. Authors P. de S. L. Passalacqua V. Patera. ADC pedestals in HEPDB. HEPDB bank DPED. Pedestal value in ADC count RMS value in ADC count Packed first layer-wire of the mega cell
E N D
Code to add dEdx infos in the dst of the 2002 data Authors P. de S. L. Passalacqua V. Patera
ADC pedestals in HEPDB HEPDB bank DPED • Pedestal value in ADC count • RMS value in ADC count • Packed first layer-wire of the mega cell • Packed last layer-wire of the mega cell • Packed FEE address RAW2DQCE YBOS bank DQCE 1. Packed first layer-wire of the mega cell 2. Packed last layer-wire of the mega cell 3. Charge measurement in ADC count
The AC module: DCDEDX for each reconstructed track steps along the helix to find out the crossed wires, to evaluate the lenght inside the crossed mega-cell, associates the measured charge and writes out the YBOS bank DEDX • the CPU time used is about 75% of ATFMOD • the dimension of the DST output increases by • about 28% next step DEDX will be a real DST bank with the different particle hypotheses for each reconstructed track
YBOS bank DEDX One bank for each reconstructed track: same ID of the DTFS bank of the corresponding track For each hit associated to the track : • 1. Packed address of the ADC channel • 2. Packed address of the crossed wires from DHRE2 • Packed address of the extrapolated crossed wires • Drift time of the IN wire • Drift time of the OUT wire • Collected charge in ADC count • Track lenght • Effective track lenght
Fortran structure DEDX INTEGER MAXNADC PARAMETER(MAXNADC = 5000) TYPE DEDXStructure SEQUENCE INTEGER nADC INTEGER first_w(MAXNADC) INTEGER last_w(MAXNADC) INTEGER Layer(MAXNADC) INTEGER Wire1(MAXNADC) INTEGER Wire2(MAXNADC) INTEGER Wass1(MAXNADC) INTEGER Wass2(MAXNADC) REAL TrLen(MAXNADC) REAL EffLen(MAXNADC) REAL Time1(MAXNADC) REAL Time2(MAXNADC) REAL Charge(MAXNADC) END TYPE TYPE(DEDXStructure) DEDX The bank can be retrieved in AC code in a structure by a call to a function : DEDX_UPK(num_dtfs,DEDX_structure A prod2ntu version has been produced to embed the new block of data
Debug # 1 : hits associated to reconstructedtracks with tdrift lower thanabout 150 ns have NO charge measurements we loose about the 30 % of useful charge measurements is there any hardware problem ? we should check before next data taking period
Debug # 2: integration gate too short vs effective length Red: effective collection of charge with reduced gate Green : total released charge
in red in blue charge / effective path charge / total cell path effective length evaluated consideringTgate = 1800 ns Celle 3X3 Celle 2X2
From KLOE memo 33 3% resolution with 100 samples With about 17 samples we would expect 7.3% resolution These plots show for electrons, pions and muons about 23% resolution … Equalization of the ADC responce is missing … coming soon !!