27 using std::runtime_error;
30 using namespace hippodraw;
58 createNTuple (
const std::string & filename,
const std::string & hduname )
64 ftuple = dynamic_cast <
FitsNTuple * > ( ntuple );
66 catch (
const runtime_error & e ) {
81 runtime_error e (
"HippoDraw was not built with numeric Python support" );
93 m_instance -> writeNTupleToFile ( source, filename );
108 const std::string & filename,
109 const std::vector < QtCut * > & cut_list,
110 const std::vector < std::string > & column_list )
115 vector < const TupleCut * > tuple_cut_list;
120 const std::string & title = source -> title ();
122 m_instance -> writeNTupleToFile ( source, filename, title,
123 column_list, tuple_cut_list );
130 const std::string & filename,
131 const std::vector < QtCut * > & cut_list,
132 const std::vector < std::string > & column_list )
134 const DataSource & source = array -> dataSource ();
135 writeToFile ( & source, filename, cut_list, column_list );
138 const std::vector < std::string > &
143 const std::vector< std::string > & names
147 catch (
const runtime_error & e ) {
150 static const std::vector < std::string > names;