CreateNTuple.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #ifndef CreateNTuple_H
00015 #define CreateNTuple_H
00016 
00017 
00018 #include "qtui/CreateNTupleBase.h"
00019 
00020 #include <map>
00021 #include <vector>
00022 
00023 namespace hippodraw {
00024 
00025 class PlotterBase;
00026 class NTuple;
00027 class TupleCut;
00028 
00033 class CreateNTuple : public CreateNTupleBase
00034 {
00035 private:
00036 
00037   unsigned int columnNumber;
00038   unsigned int cutNumber;
00039 
00042   std::vector < const TupleCut * > m_cut_list;
00043   std::vector < std::string > m_column_list;
00044 
00045   NTuple * newNTuple;
00046 
00048   void updateNTupleIn();
00049 
00051   void updateColumnList();
00052 
00054   void updateCutList();
00055 
00057   void initListViews();
00058 
00061   const std::vector < PlotterBase * > &  getDataCutList();
00062 
00064   void getPlotterList( std::vector < PlotterBase * > & );
00065 
00067   void setColumnList();
00068 
00070   void setCutList();
00071 
00072 
00073 protected:
00074 
00076   virtual void currentDataSourceChanged( int item );
00077 
00079   virtual void createButtonClicked();
00080 
00082   virtual void createFileButtonClicked();
00083 
00085   virtual void cutListCheckBox_toggled ( bool yes );
00086 
00088   virtual void columnListCheckBox_toggled ( bool yes );
00089 
00090 public:
00091 
00094     CreateNTuple ( QWidget * parent = 0,
00095                    const char * name = 0 );
00096 
00097 };
00098 
00099 } // namespace hippodraw
00100 
00101 #endif // CreateNTuple_H

Generated for HippoDraw Class Library by doxygen