PyFitsController.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _PyFitsController_H_
15 #define _PyFitsController_H_
16 
17 #include <string>
18 #include <vector>
19 
20 namespace hippodraw {
21 
22  class DataSource;
23  class FitsController;
24  class FitsNTuple;
25  class PyDataSource;
26  class QtCut;
27 
36 {
37 
38 private:
39 
42 
45 
48 
51 
52 public:
53 
56  static PyFitsController * instance ();
57 
60  FitsNTuple * createNTuple ( const std::string & filename,
61  const std::string & hduname );
62 
66  PyDataSource * createDataArray ( const std::string & filename,
67  const std::string & hduname );
68 
71  void writeToFile ( const DataSource * source,
72  const std::string & filename );
73 
76  void writeToFile ( const PyDataSource * source,
77  const std::string & filename );
78 
83  void writeToFile ( const DataSource * source,
84  const std::string & filename,
85  const std::vector < QtCut * > & cut_list,
86  const std::vector < std::string > & column_list );
87 
92  void writeToFile ( const PyDataSource * source,
93  const std::string & filename,
94  const std::vector < QtCut * > & cut_list,
95  const std::vector < std::string > & column_list );
96 
99  const std::vector < std::string > &
100  getNTupleNames ( const std::string & filename );
101 
102 };
103 
104 } // namespace hippodraw
105 
106 #endif // _PyFitsController_H_

Generated for HippoDraw Class Library by doxygen