Skip to content

Inconsistent photon count in fEMCal #2188

@veprbl

Description

@veprbl

I'm realizing there might be an issue in be68024. It has to do with deposited energy scales being different for homogenious and ScFi variants, which is inconsistent with using the same number for lightYield/photonDetectionEfficiency.

The homogenious path uses corrMeanScale = 1, whereas ScFi uses corrMeanScale = 1/(sampling fraction) to correct the energy, but that does not help us. That is because the correction is applied after the distribution parameter is chosen based on yields/efficiencies and photon count is determined from it:

adc = std::max(std::llround(ped + n_pixels_fired * corrMeanScale_value * (1.0 + eResRel) /
n_max_photons * m_cfg.capADC),

The fix might be to rescale yield using sampling fraction for one of the variants.

cc @akioogawa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions