1#ifndef IONIZATIONPOISSON_H
2#define IONIZATIONPOISSON_H
4#include "CgemGeomSvc/ICgemGeomSvc.h"
6#include "CgemDigitizerSvc/Ionization.h"
23 void setTrack(
int particle,
int charge,
double p,
double trkPosIn[],
double trkPosOut[]);
26 double getEx(
int nElec) {
return m_ex[nElec];}
27 double getEy(
int nElec) {
return m_ey[nElec];}
28 double getEz(
int nElec) {
return m_ez[nElec];}
29 double getEt(
int nElec) {
return m_et[nElec];}
33 double getCx(
int nClus) {
return m_cx[nClus];}
34 double getCy(
int nClus) {
return m_cy[nClus];}
35 double getCz(
int nClus) {
return m_cz[nClus];}
36 double getCt(
int nClus) {
return m_ct[nClus];}
41 double &x,
double &y,
double &z);
43 double &xl,
double &yl,
double &zl);
54 std::vector<double> m_cx;
55 std::vector<double> m_cy;
56 std::vector<double> m_cz;
57 std::vector<double> m_ct;
60 std::vector<double> m_ex;
61 std::vector<double> m_ey;
62 std::vector<double> m_ez;
63 std::vector<double> m_et;
65 double m_track_length_limit;
66 double m_track_length;
void setDebugging(bool debugging)
void setTrack(int particle, int charge, double p, double trkPosIn[], double trkPosOut[])
int generate_secondary_ele()
bool generate_primary_ele()
void from_glo_to_loc(double xg, double yg, double zg, double &xl, double &yl, double &zl)
void compute_pos(double trkPosIn[], double trkPosOut[], double &x, double &y, double &z)
void init(unsigned int random, ICgemGeomSvc *geomSvc)