Changeset 17000 for trunk/FACT++/src
- Timestamp:
- 08/12/13 13:41:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fitsdump.cc
r16964 r17000 86 86 87 87 public: 88 FitsDumper(const string &fname );88 FitsDumper(const string &fname, const string &tablename); 89 89 90 90 ///Configures the fitsLoader from the config file and/or command arguments. … … 98 98 //! the ostream where to redirect the outputs 99 99 // 100 FitsDumper::FitsDumper(const string &fname ) : factfits(fname, "Events"), fFilename(fname)100 FitsDumper::FitsDumper(const string &fname, const string &tablename) : factfits(fname, tablename), fFilename(fname) 101 101 { 102 102 } … … 923 923 ("first", var<size_t>(size_t(0)), "First number of row to read") 924 924 ("limit", var<size_t>(size_t(0)), "Limit for the maximum number of rows to read (0=unlimited)") 925 ("tablename,t", var<string>(""), "Name of the table to open. If not specified, first binary table is opened") 925 926 #ifdef HAVE_ROOT 926 927 ("root,r", po_switch(), "Enable root mode") … … 952 953 } 953 954 954 FitsDumper loader(conf.Get<string>("fitsfile") );955 FitsDumper loader(conf.Get<string>("fitsfile"), conf.Get<string>("tablename")); 955 956 if (!loader) 956 957 {
Note:
See TracChangeset
for help on using the changeset viewer.