Wrote TDataManager::FitChargeSpectrum