13#ifndef BesTofDigitizerEcV4_h
14#define BesTofDigitizerEcV4_h 1
52 void simulate_avalanche(G4int actual_strip, vector<adc_info> * avalanche_info,
double * avalanche_threshold_time,
double *induced_charge);
80 double m_stripidentifier;
83 double m_time_threshold;
89 double m_numberofgaps_with_avalanches;
90 double m_numberofstripsfired;
92 double m_inefficiency;
93 double m_particle_true;
94 double m_particle_has_signal;
G4TDigiCollection< BesTofDigi > BesTofDigitsCollection
G4THitsCollection< BesTofHit > BesTofHitsCollection
long int adcsignal_get_n_electron(double s, double stepwidth, double alpha, double eta)
static G4double Average_transition_time(G4int my_module)
static G4double Calculate_strip_transition_time(G4double x_mm, G4double y_mm, G4int partId_f, G4int module_mrpc_f)
G4double Distance_for_avalanche(G4int gap, G4double z_position, G4int partID)
virtual void Digitize(ScintSingle *, BesTofDigitsCollection *)
double chargetotime(double)
static G4int Produce_unique_identifier(G4int module_mrpc_f, G4int readoutstripnumber_f)
double Get_NINO_pulselength_resolution(double induced_charge_fc)
void simulate_avalanche(G4int actual_strip, vector< adc_info > *avalanche_info, double *avalanche_threshold_time, double *induced_charge)
static G4int Calculate_Readoutstrip_number_continuum(G4double x_mm, G4double y_mm, G4int partId_f, G4int module_mrpc_f)
static G4int Get_module_mrpc_from_unique_identifier(G4int unique_identifier_f)
static G4double Calculate_strip_transition_time_cont(G4double x_mm, G4double y_mm, G4int partId_f, G4int module_mrpc_f)
static G4int Calculate_Readoutstrip_number(G4double x, G4double y, G4int partId_f, G4int module_mrpc_f)
double Get_NINO_leadingedge_resolution(double induced_charge_fc)
double adcsignal_get_sigma(double alpha, double eta, double stepwidth)
G4double Smear_gaussian(G4double, G4double, G4double)
G4int Get_gapnumber(G4int partID, G4double z_position)
static G4int Get_stripnumber_from_unique_identifier(G4int unique_identifier_f)
long int adcsignal_simulate_step(int n_elec, double stepwidth, double alpha, double eta, bool saturated)