17 m_tail = gammashape.m_tail;
18 m_width = gammashape.m_width;
19 m_peak = gammashape.m_peak;
21 m_de = gammashape.m_de;
22 m_dphi = gammashape.m_dphi;
23 m_dtheta = gammashape.m_dtheta;
27 m_tail = gammashape.m_tail;
28 m_width = gammashape.m_width;
29 m_peak = gammashape.m_peak;
31 m_de = gammashape.m_de;
32 m_dphi = gammashape.m_dphi;
33 m_dtheta = gammashape.m_dtheta;
86 return 0.002496/sqrt(
peak) + 0.01861 + 0.0001788*
peak;
98 double qa = tail1*sqrt(log(4.));
99 double qb = sinh(qa)/qa;
100 double qx = (eorigin-
peak)/width1*qb*tail1;
105 f1 = (eorigin-
peak)/
fitm(eorigin,
peak, width1, tail1, mean1);
110 f1 = width1/(qb*tail1);
125 double qa =
tail*sqrt(log(4.));
126 double qb = sinh(qa)/qa;
127 double qx = ((
x-pk)/pk)/
width*qb;
128 double qy = 1 +
tail * qx;
130 if(qy < 1.e-7) qc = 15;
double tail(const double epeak)
double width(const double epeak)
double peak(const double fitvalue)
double de(const double eorigin, const double peak)
double fitm(double x, double pk, double width, double tail, double mean)
double mean(const double epeak)