Celeritas calculates optical-photon group velocity from the refractive-index table using
$v_g = \frac{c}{n(E) + E \frac{dn}{dE}}.$
where it first first constructs a $dn/dE$ grid . At the photon energy, to calculate $v_g(E_\gamma)$ : it separately interpolates $n(E_\gamma)$ and $\frac{dn}{dE}$ at $E_\gamma$.
The equivalent expression used in Geant4 is
$v_g = \frac{c}{n(E) + \frac{dn}{d (log E)}}.$
For each selected refractive-index interval, it estimates $n(E)$ at $E_{mid}$ calculates the derivative: $\frac{\Delta n}{\Delta log E}$ at $E_{mid}$ and constructs a separate GROUPVEL table and then interpolates group velocity.
Several implementation choices affect the result, particularly when the refractive-index table has discontinuous or rapidly changing interval slopes which in turn can impact the timing distribution of an optical photon.
Things to investigate :
Celeritas calculates optical-photon group velocity from the refractive-index table using
where it first first constructs a$dn/dE$ grid . At the photon energy, to calculate $v_g(E_\gamma)$ : it separately interpolates $n(E_\gamma)$ and $\frac{dn}{dE}$ at $E_\gamma$ .
The equivalent expression used in Geant4 is
$v_g = \frac{c}{n(E) + \frac{dn}{d (log E)}}.$
For each selected refractive-index interval, it estimates$n(E)$ at $E_{mid}$ calculates the derivative: $\frac{\Delta n}{\Delta log E}$ at $E_{mid}$ and constructs a separate
GROUPVELtable and then interpolates group velocity.Several implementation choices affect the result, particularly when the refractive-index table has discontinuous or rapidly changing interval slopes which in turn can impact the timing distribution of an optical photon.
Things to investigate :
Decide whether Celeritas should reproduce Geant4's
GROUPVELconstruction.Determine which intervals should be used for the finite difference and at which energies the resulting group velocities should be stored.
Celeritas precalculating and storing an energy-to-group-velocity grid during optical-material initialization
Create test to compare the current Celeritas calculation with Geant4 for:
Compare both implementations with measured group velocities for a specified material.