4#include "CgemGeomSvc/ICgemGeomSvc.h"
6#include "CgemDigitizerSvc/Ionization.h"
12#define m_testing false
26 void setTrack(
int particle,
int charge,
double p,
double trkPosIn[],
double trkPosOut[]);
29 double getEx(
int nElec) {
return m_ex[nElec];}
30 double getEy(
int nElec) {
return m_ey[nElec];}
31 double getEz(
int nElec) {
return m_ez[nElec];}
32 double getEt(
int nElec) {
return m_et[nElec];}
36 double getCx(
int nClus) {
return m_cx[nClus];}
37 double getCy(
int nClus) {
return m_cy[nClus];}
38 double getCz(
int nClus) {
return m_cz[nClus];}
39 double getCt(
int nClus) {
return m_ct[nClus];}
43 void compute_pos(
double trkPosIn[],
double trkPosOut[],
44 double &x,
double &y,
double &z);
46 double &xl,
double &yl,
double &zl);
58 std::vector<double> m_cx;
59 std::vector<double> m_cy;
60 std::vector<double> m_cz;
61 std::vector<double> m_ct;
64 std::vector<double> m_ex;
65 std::vector<double> m_ey;
66 std::vector<double> m_ez;
67 std::vector<double> m_et;
69 double m_track_length_limit;
70 double m_track_length;
73 TH1F * h_distance_cluster;
void init(unsigned int random, ICgemGeomSvc *geomSvc, double magConfig)
void setTrack(int particle, int charge, double p, double trkPosIn[], double trkPosOut[])
void compute_pos(double trkPosIn[], double trkPosOut[], double &x, double &y, double &z)
bool generate_primary_ele()
void from_glo_to_loc(double xg, double yg, double zg, double &xl, double &yl, double &zl)
void setDebugging(bool debugging)
int generate_secondary_ele()