31 :m_tau(tau),m_sampleTime(sampleTime)
37 while(init!=
emcWave) *--init=0.0;
68 if (
this != &assign) {
96 if(
time >= i*m_sampleTime &&
time < (i+1)*m_sampleTime) adc =
emcWave[i];
117 double time0 =
time*m_sampleTime+m_timeOffset-m_peakTime;
120 double peak = m_peakTime*m_peakTime*m_peakTime*m_peakTime*
exp(-m_peakTime/m_tau)/24;
124 tempTime = i*m_sampleTime + m_timeOffset - time0;
127 energy*tempTime*tempTime*tempTime*tempTime*
exp(-tempTime/m_tau)/(24*peak);
133 double time0 =
time*m_sampleTime+m_timeOffset-m_peakTime;
136 double peak = m_peakTime*m_peakTime*m_peakTime*m_peakTime*
exp(-m_peakTime/m_tau)/24;
140 tempTime = i*m_sampleTime + m_timeOffset - time0;
143 energy*tempTime*tempTime*tempTime*tempTime*
exp(-tempTime/m_tau)/(24*peak);
149 cout<<
"New Wave!"<<endl;
EvtComplex exp(const EvtComplex &c)
************Class m_ypar INTEGER m_KeyWgt INTEGER m_nphot INTEGER m_KeyGPS INTEGER m_IsBeamPolarized INTEGER m_EvtGenInterface DOUBLE PRECISION m_Emin DOUBLE PRECISION m_sphot DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_q2 DOUBLE PRECISION m_PolBeam2 DOUBLE PRECISION m_xErrPb *COMMON c_KK2f $ !CMS energy average $ !Spin Polarization vector first beam $ !Spin Polarization vector second beam $ !Beam energy spread[GeV] $ !minimum hadronization energy[GeV] $ !input READ never touch them !$ !debug facility $ !maximum weight $ !inverse alfaQED $ !minimum real photon energy