9 #ifndef MACRO_G4FSTEIC_C
10 #define MACRO_G4FSTEIC_C
25 double Rmax,
double tSilicon,
double pitch);
31 static bool FST =
false;
66 const double mm = .1 *
cm;
67 const double um = 1
e-3 *
mm;
72 const double bkwd_z[] = {25, 52, 79, 106};
73 double bkwd_rmin[] = {3.5, 3.5, 4.5, 5.5};
74 double bkwd_rmax[] = {18.5, 36.5, 40.5, 41.5};
75 const int n_bkwd_disk =
sizeof(bkwd_z) /
sizeof(*bkwd_z);
76 for (
unsigned int i = 0; i < n_bkwd_disk; i++)
88 make_LANL_FST_station(Form(
"EST_%i", i), g4Reco, -1*bkwd_z[i], bkwd_rmin[i], bkwd_rmax[i], 35 * um, 10
e-4);
92 const double fwd_z[] = {25, 52, 73, 106, 125};
93 double fwd_rmin[] = {3.5, 3.5, 4.5, 5.5, 7.5};
94 double fwd_rmax[] = {18.5, 36.5, 40.5, 41.5, 43.4};
95 const int n_fwd_disk =
sizeof(fwd_z) /
sizeof(*fwd_z);
96 for (
unsigned int i = 0; i < n_fwd_disk; i++)
116 double tSupport = 0.2;
117 make_supportCyl(
"FSTSupportCyl", g4Reco, 50.1 + gap, tSupport, 125.0 * 2.0);
122 double zpos,
double Rmin,
double Rmax,
double tSilicon,
double pitch)
126 double min_polar_angle = atan2(Rmin, zpos);
127 double max_polar_angle = atan2(Rmax, zpos);
130 double polar_angle = 0;
136 if (max_polar_angle < min_polar_angle)
138 double t = max_polar_angle;
139 max_polar_angle = min_polar_angle;
158 const double mm = .1 *
cm;
159 const double um = 1
e-3 *
mm;