14 printf(
"\n\n--------------------------------\n");
15 printf(
"WELCOME TO FITS tutorial #6 !!!!\n");
16 printf(
"--------------------------------\n");
17 printf(
"We are going to open a table from a FITS file\n");
18 printf(
"and dump its columns.\n\n");
25 printf(
"ERROR: could not access the HDU\n");
return;
30 printf(
"The table has %d columns:\n", nColumns);
31 for (
Int_t i = 0; i < nColumns; i++) {
Int_t GetTabNColumns() const
virtual const char * DirName(const char *pathname)
Return the directory name in pathname.
FITS file interface class.
R__EXTERN TSystem * gSystem
const TString & GetColumnName(Int_t colnum)
Get the name of a column given its index (column>=0).
const char * Data() const