- genevb's home page
- Posts
- 2024
- 2023
- 2022
- September (1)
- 2021
- 2020
- 2019
- December (1)
- October (4)
- September (2)
- August (6)
- July (1)
- June (2)
- May (4)
- April (2)
- March (3)
- February (3)
- 2018
- 2017
- December (1)
- October (3)
- September (1)
- August (1)
- July (2)
- June (2)
- April (2)
- March (2)
- February (1)
- 2016
- November (2)
- September (1)
- August (2)
- July (1)
- June (2)
- May (2)
- April (1)
- March (5)
- February (2)
- January (1)
- 2015
- December (1)
- October (1)
- September (2)
- June (1)
- May (2)
- April (2)
- March (3)
- February (1)
- January (3)
- 2014
- December (2)
- October (2)
- September (2)
- August (3)
- July (2)
- June (2)
- May (2)
- April (9)
- March (2)
- February (2)
- January (1)
- 2013
- December (5)
- October (3)
- September (3)
- August (1)
- July (1)
- May (4)
- April (4)
- March (7)
- February (1)
- January (2)
- 2012
- December (2)
- November (6)
- October (2)
- September (3)
- August (7)
- July (2)
- June (1)
- May (3)
- April (1)
- March (2)
- February (1)
- 2011
- November (1)
- October (1)
- September (4)
- August (2)
- July (4)
- June (3)
- May (4)
- April (9)
- March (5)
- February (6)
- January (3)
- 2010
- December (3)
- November (6)
- October (3)
- September (1)
- August (5)
- July (1)
- June (4)
- May (1)
- April (2)
- March (2)
- February (4)
- January (2)
- 2009
- November (1)
- October (2)
- September (6)
- August (4)
- July (4)
- June (3)
- May (5)
- April (5)
- March (3)
- February (1)
- 2008
- 2005
- October (1)
- My blog
- Post new blog entry
- All blogs
Unified SpaceCharge & GridLeak Calibration (winter 2013)
Definitions:
sc : metric of SpaceCharge (as seen via signed DCAs to the primary vertex) representing the average charge density over the TPC volume <ρSC/ε0>
L : luminosity
z : distance from the endcap
Dstatic : static, z-independent distortions
GLO : GridLeak luminosity dependence offset from zero
SO : SpaceCharge luminosity dependence offset from zero (possibly the same as GLO)
SC : SpaceCharge luminosity dependence coefficient
GL : SpaceCharge-to-GridLeak coefficient, ρGL/ε0 = GL <ρSC/ε0> (ρGL is assumed to be uniform in a thin sheet across the TPC)
DGL : distortion due to GridLeak, leading to non-zero gap values
CGL : correction applied for GridLeak (ideally the same as DGL when calibrated)
DSCGL : distortion due to SpaceCharge + GridLeak, leading to non-zero signed DCAs at the primary vertex
CSCGL : correction applied for SpaceCharge + GridLeak (ideally the same as DSCGL when calibrated)
g1 : conversion coefficient in GridLeak distortion
g2 : conversion coefficient in GridLeak correction
g3 : conversion coefficient of SpaceCharge into DSCGL
g4 : conversion coefficient of GridLeak into DSCGL
g5 : g3/g4
g3' : conversion coefficient of SpaceCharge into DSCGL in StMagUtilities::PredictSpaceChargeDistortion()
g4' : conversion coefficient of GridLeak into DSCGL in StMagUtilities::PredictSpaceChargeDistortion()
g5' = g3' / g4'
g3r = g3' / g3
g4r = g4' / g4
g5r = g5' / g5
*used : value of a parameter used when reconstructing data
Formulas for GridLeak:
When we look at data which has been corrected (and we have to, because the distortion is so large that looking at uncorrected data results in broken tracks due to the GridLeak, not allowing us to easily look at gap via the residuals), we have:
gap(z,L) = Dstatic + DGL - CGL
DGL = g1 z (L - GLO)
CGL = g2 z (L - SO) SC GL = g2 z sc GL
...and using sc as defined in the next section...
CGL = g2 z sc GL
Ideally, SO = GLO, and we can force this. But that ought to be determined. Anyhow...
gap(z,L) = Dstatic + g1 z (L - GLO) - g2 z scused GLused
gap(z,L) = Dstatic + z [g1 (L - GLO) - g2 scused GLused]
We define the slope and intercept in z as gapf and gapi respectively, and we can write the formula for gapf in a few ways:
gap(z,L) = gapi + z gapf | ||
(i) | Distortion minus correction | gapf(L) = g1 (L - GLO) - g2 scused GLused |
(ii) | Collected coefficients | gapf(L) = g2 [ (g1/g2) (L - GLO) - scused GLused ] |
(iii) | Linear in luminosity | gapf(L) = [g2 SOused SCused GLused - g1 GLO] + L [g1 - g2 SCused GLused] |
We disregard the intercept gapi = Dstatic, as it involves other possible distortions we don't wish to deal with here. And we will use the "Collected coefficients" form for the calibration.
Formulas for SpaceCharge:
Our formalism for SpaceCharge is as follows:
sc(L) = SC (L - SO)
sc(L) (g3 + g4 GL) = Dstatic + DSCGL # Note that there is an assumption here of the luminosity offset (L - SO) applying for both SpaceCharge & GridLeak!
sc(L) = (Dstatic + DSCGL) / (g3 + g4 GL)
...but what we observe has distortion corrections applied, and we interpret the distortions (using StMagUtilities::PredictSpaceChargeDistortion(), assuming the GLused that we applied, and with some g3' and g4' that are built into the code, which we hope to be very close to their true counterparts g3 and g4)...
scobserved(L) = (Dstatic + DSCGL - CSCGL) / (g3' + g4' GLused)
DSCGL = g3 sc(L) + g4 GL sc(L) = sc(L) (g3 + g4 GL)
CSCGL = scused (g3 + g4 GLused)
We record (write out) the observed + used sc as our measurement:
scmeasured(L) = scobserved + scused
The scused term cancels with that from CSCGL only if g3' = g3 and g4' = g4 (i.e. g3r = g4r = 1). Otherwise we are left with:
scmeasured(L) = scused + [Dstatic + sc(L) (g3 + g4 GL) - scused (g3 + g4 GLused)] / (g3' + g4' GLused)
scmeasured(L) = scused + [Dstatic + SC (L - SO) (g3 + g4 GL) - scused (g3 + g4 GLused)] / (g3' + g4' GLused)
Let us modify SO to include the static distortions, as we do not have enough observables to separate these:
SO - { Dstatic / [ SC (g3 + g4 GL) ] } → SO # This uses only fixed numbers (i.e. it doesn't depend on what we used)
scmeasured(L) = scused + [SC (L - SO) (g3 + g4 GL) - scused (g3 + g4 GLused)] / (g3' + g4' GLused)
scmeasured(L) = scused + [ SC (L - SO) (g5 + GL) - scused (g5 + GLused)] / [g4r (g5r g5 + GLused)]
This is the primary form we will use for the calibration. Only if g3r = g4r = g5r = 1 does this condense to:
scmeasured(L) = [ SC (L - SO) (g5 + GL) ] / (g5 + GLused)
Let us define an effective coefficient:
SCeffective = SC (g5 + GL) # This uses only fixed numbers
scmeasured(L) = SCeffective (L - SOeffective) / (g5 + GLused)
This is a secondary form we will use in the calibration to help get approximate values in an initial fit, as it does not allow deviation from g3r = g4r = g5r = 1. To come full circule, for the sake of clarity, we could still define another effective coefficient:
SCeffective,2 = SCeffective / (g5 + GLused) # Actually a function of GLused
scmeasured(L) = SCeffective,2 (L - SO)
This compares in form to our original formulation of sc = SC (L - SO). But we will not use this form.
A caveat:
There is a simple scale dependence of all four coefficients g1-4 on the TPC wt through a variable which we have labeled in StMagUtilities as Const1. The dependence cancels in ratios, g1/g2, g3/g4 = g5, so the only place this constant appears is in the bare g2 in the GridLeak formula. Thus, it is slightly modified to make it correct:
gapf(L) = (Const1used / Const1reference) g2 [ (g1/g2) (L - GLO) - scused GLused ]
Fitting The Data:
We do three fits. The first two fits are for SpaceCharge and GridLeak distortions separately to help obtain initial values in a third, unifying fit. These fits can be described as follows:
SpaceCharge |
|
||||||
---|---|---|---|---|---|---|---|
GridLeak |
|
||||||
Unified |
|
This is coded into the calibration macro Calib_SC_GL.C.
Fitting both gapf and sc data simultaneously with in the Unified fit lets the fitter deliver errors on our desired SC and GL parameters individually, though there exists significant correlations between several parameters. The calibration code allows to see these correlations via χ2 in the parameter phase space when running in debug mode.
Generally, for the Unified fit, we force p5 ≡ p3 (i.e. GLO ≡ SO), and p6 ≡ p7 ≡ 1 (i.e. g3r ≡ g4r ≡ g5r ≡ 1), but these conditions can be relaxed through control parameters in the code.
-Gene
- genevb's blog
- Login or register to post comments