22 TFITSHDU hdu(dir +
"/fitsio/sample5.fits[1]");
26 std::unique_ptr<TVectorD> vec1(hdu.GetTabRealVectorColumn(
"ra"));
27 std::unique_ptr<TVectorD> vec2(hdu.GetTabRealVectorColumn(
"dec"));
28 std::unique_ptr<TVectorD> vec3(hdu.GetTabRealVectorColumn(
"flux_g"));
29 std::unique_ptr<TVectorD> vec4(hdu.GetTabRealVectorColumn(
"brick_primary"));
31 for (
auto i :
ROOT::
TSeqI(vec1->GetLwb(), vec1->GetUpb())) {
32 const auto bp = (*vec4)[i];
34 const auto gflux = (*vec3)[i];
35 const auto ra = (*vec1)[i];
36 const auto dec = (*vec2)[i];
37 printf(
"RA %f DEC %f G-FLUX %f\n", ra, dec, gflux);
FITS file interface class.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...