45 bool interpolate)
const {
48 if (particle_type < 0 || particle_type > 2)
51 float aeta = fabs(
eta);
70 double energyGeV = energy * 0.001;
71 double et = energyGeV / std::cosh(
eta);
73 int ibinEt =
m_etBins->GetSize() - 2;
74 for (
int i = 1; i <
m_etBins->GetSize(); i++) {
95 scale = (0.050 * (aeta - 1.8) / 0.4 + 0.025) / 0.05;
100 if (particle_type == 0)
101 return scale *
m_helec[ieta]->GetBinContent(ibinEt + 1);
102 else if (particle_type == 1)
103 return scale *
m_hphot[ieta]->GetBinContent(ibinEt + 1);
105 return scale *
m_hphot2[ieta]->GetBinContent(
109 if (particle_type == 0)
110 return scale *
m_helec[ieta]->Interpolate(
et);
111 else if (particle_type == 1)
112 return scale *
m_hphot[ieta]->Interpolate(
et);
114 return scale *
m_hphot2[ieta]->Interpolate(
double getAlpha(int particle_type, double energy, double eta, bool interpolate=false) const
particle_type = 0 (electrons), 1 (unconv photons), 2 (conv photons)