13#ifndef BesTofDigitizerEcV4_dbs_h
14#define BesTofDigitizerEcV4_dbs_h 1
56 void simulate_avalanche(G4int actual_strip, vector<adc_info> * avalanche_info,
double * avalanche_threshold_time,
double *induced_charge);
87 double m_stripidentifier;
90 double m_time_threshold;
96 double m_numberofgaps_with_avalanches;
97 double m_numberofstripsfired;
99 double m_inefficiency;
100 double m_particle_true;
101 double m_particle_has_signal;
102 double m_trans_time_1;
103 double m_trans_time_2;
G4TDigiCollection< BesTofDigi > BesTofDigitsCollection
G4THitsCollection< BesTofHit > BesTofHitsCollection
static double GetTransitionTime_dbsmatch(double delta_t, int my_strip)
static G4int Calculate_Readoutstrip_number_continuum(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)
static G4double Calculate_resulting_phi(G4double x_mm, G4double y_mm, G4int partId_f, G4int module_mrpc_f)
virtual void Digitize(ScintSingle *, BesTofDigitsCollection *)
static G4double Calculate_strip_transition_time_2(G4double x_mm, G4double y_mm, G4int partId_f, G4int module_mrpc_f)
G4int Get_gapnumber(G4int partID, G4double z_position)
~BesTofDigitizerEcV4_dbs()
static G4double Calculate_strip_transition_time_1(G4double x_mm, G4double y_mm, G4int partId_f, G4int module_mrpc_f)
void simulate_avalanche(G4int actual_strip, vector< adc_info > *avalanche_info, double *avalanche_threshold_time, double *induced_charge)
static G4int Get_module_mrpc_from_unique_identifier(G4int unique_identifier_f)
double Get_NINO_pulselength_resolution(double induced_charge_fc)
static double Average_transition_time_dbs(G4int my_module)
static G4int Produce_unique_identifier(G4int module_mrpc_f, G4int readoutstripnumber_f)
long int adcsignal_get_n_electron(double s, double stepwidth, double alpha, double eta)
BesTofDigitizerEcV4_dbs()
long int adcsignal_simulate_step(int n_elec, double stepwidth, double alpha, double eta, bool saturated)
G4double Distance_for_avalanche(G4int gap, G4double z_position, G4int partID)
double adcsignal_get_sigma(double alpha, double eta, double stepwidth)
double Get_NINO_leadingedge_resolution(double induced_charge_fc)
static double GetTransitionTime_extrap_track(G4double x_mm, G4double y_mm, int partId_f, int module_mrpc_f, int my_strip)
static G4int Get_stripnumber_from_unique_identifier(G4int unique_identifier_f)
G4double Smear_gaussian(G4double, G4double, G4double)
double chargetotime(double)