24 double Dx = hit_i->
get_x(0);
25 double Dy = hit_i->
get_y(0);
26 double Dz = hit_i->
get_z(0);
33 double cx = -18.5*TMath::Sin(sec*TMath::Pi()/4);
34 double cy = 18.5*TMath::Cos(sec*TMath::Pi()/4);
37 int select_radiator=0;
40 double R_mirror = 195;
41 _analyzer->set_mirror(cx, cy, cz, R_mirror);
44 float theta_c = _analyzer->ind_ray(Ex, Ey, Ez, Dx, Dy, Dz, vx, vy, vz, select_radiator);
59 arr_mom[0] = particle->
get_px();
60 arr_mom[1] = particle->
get_py();
61 arr_mom[2] = particle->
get_pz();
84 for (rich_hits_iter = rich_hits_begin_end.first; rich_hits_iter != rich_hits_begin_end.second; ++rich_hits_iter)
86 PHG4Hit *hit_i = rich_hits_iter->second;
91 emix.push_back( vertex->
get_x() );
92 emiy.push_back( vertex->
get_y() );
93 emiz.push_back( vertex->
get_z() );
97 vector<double>::iterator first;
98 vector<double>::iterator last;
104 first = std::min_element(emiz.begin(),emiz.end());
108 if (emiz.size() > p1+11){
109 dx = emix.at(p1+11) - emix.at(p1);
110 dy = emiy.at(p1+11) - emiy.at(p1);
111 dz = emiz.at(p1+11) - emiz.at(p1);