31 std::cout <<
"cannot find geo node " << geonodename << std::endl;
34 PHG4HitContainer *hits_ = findNode::getClass<PHG4HitContainer>(topNode, hitnodename);
37 std::cout <<
"cannot find hit node " << hitnodename << std::endl;
45 double x0 = inner_radius * cos(
phi * M_PI / 180.);
46 double y0 = inner_radius * sin(
phi * M_PI / 180.);
47 double z0 = inner_radius * cos(
theta * M_PI / 180.);
48 double x1 = outer_radius * cos(
phi * M_PI / 180.);
49 double y1 = outer_radius * sin(
phi * M_PI / 180.);
50 double z1 = outer_radius * cos(
theta * M_PI / 180.);
62 std::cout <<
"phi " <<
phi <<
" inner rad: " << inner_radius
63 <<
", outer rad: " << outer_radius
64 <<
" x0/y0/z0: " << x0 <<
"/" << y0 <<
"/" << z0
65 <<
" x1/y1/z1: " << x1 <<
"/" << y1 <<
"/" << z1