11#ifndef BesTofDigitizerEcV4_h
12#define BesTofDigitizerEcV4_h 1
51 double getV(
double E);
154 double time_leading_sphi;
155 double time_leading_xphi;
156 double time_trailing_sphi;
157 double time_trailing_xphi;
168 bool m_saturationFlag;
169 int m_calTdcRes_charge_flag;
170 int m_charge2Time_flag;
171 int m_calAdcRes_charge_flag;
176 double m_time_leading_sphi;
177 double m_time_leading_xphi;
178 double m_time_trailing_sphi;
179 double m_time_trailing_xphi;
181 double m_tdcRes_charge;
184 double m_adcRes_charge;
188 double m_tPropagate_sphi;
189 double m_tPropagate_xphi;
193 double m_ions_hit[10000];
194 double m_trkIndex_hit[10000];
195 double m_pdgCode_hit[10000];
196 double m_gap_hit[10000];
197 double m_underStrip_hit[10000];
198 double m_locx_hit[10000];
199 double m_locy_hit[10000];
200 double m_locz_hit[10000];
201 double m_x_hit[10000];
202 double m_y_hit[10000];
203 double m_z_hit[10000];
204 double m_px_hit[10000];
205 double m_py_hit[10000];
206 double m_pz_hit[10000];
G4TDigiCollection< BesTofDigi > BesTofDigitsCollection
std::map< int, double > AVALANCH
double calTdcRes_charge1(double charge_fC)
double calAdcRes_charge(double charge_fC)
double calAdcRes_charge1(double charge_fC)
bool underStrip(double locX, double locZ)
int calStrip(double locZ)
virtual void Digitize(ScintSingle *, BesTofDigitsCollection *)
double charge2Time1(double charge_fC)
double charge2Time(double charge_fC)
double calTdcRes_charge(double charge_fC)
double getAlpha(double E)
BesTofGeoParameter * tofPara
void setPar(int nstep, double E_weight, double E)
void setPar(double alpha_n, double eta_n, double drift_n, double threshold, bool saturationFlag=true)
vector< HitStruct > hitStructCol
long int calNextN(int num)
long int multiply(double rdm)