4#include "CgemGeomSvc/ICgemGeomSvc.h"
5#include "CgemDigitizerSvc/DriftAndAvalanche.h"
22 void setIonElectrons(
int layer,
int nElectrons, std::vector<double> x, std::vector<double> y, std::vector<double> z, std::vector<double>
t);
26 double getX(
int n)
const {
return m_eX[
n];}
27 double getY(
int n)
const {
return m_eY[
n];}
28 double getZ(
int n)
const {
return m_eZ[
n];}
29 double getT(
int n)
const {
return m_eT[
n];}
49 void compute_drifting(
double xi,
double yi,
double zi,
double ti,
double &xf,
double &yf,
double &zf,
double &tf);
70 double m_shift_x_parameters[2];
71 double m_shift_t_parameters[2];
73 double m_smear_x_parameters[4];
74 double m_smear_y_parameters[4];
75 double m_smear_t_parameters[4];
79 std::vector<double> m_eX;
80 std::vector<double> m_eY;
81 std::vector<double> m_eZ;
82 std::vector<double> m_eT;
84 double m_polya_mean[3];
85 double m_polya_theta[3];
int get_voltage_index(int voltage)
void setIonElectrons(int layer, int nElectrons, std::vector< double > x, std::vector< double > y, std::vector< double > z, std::vector< double > t)
int getNelectrons() const
void compute_drifting(double xi, double yi, double zi, double ti, double &xf, double &yf, double &zf, double &tf)
void init(ICgemGeomSvc *geomSvc)