00001 #ifndef CDBROOTABLE_NTUPLE_BASE_R_RDL
00002 #define CDBROOTABLE_NTUPLE_BASE_R_RDL
00003
00004
00005
00006
00007 #include "CdbRoo/CdbRooObjectR.hh"
00008
00009 #include <string>
00010 #include <vector>
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 class CdbRooNTupleBaseR : public CdbRooObjectR {
00030
00031 protected:
00032
00033
00034
00035
00036
00037
00038 CdbRooNTupleBaseR( );
00039
00040
00041
00042
00043
00044 CdbRooNTupleBaseR( UInt_t theNumberOfColumns,
00045 const std::string& theName,
00046 const std::string& theDescription,
00047 const std::vector<std::string>& theColumnNames );
00048
00049 public:
00050
00051
00052
00053 virtual ~CdbRooNTupleBaseR( );
00054
00055
00056
00057 UInt_t columns( ) const { return _columns; }
00058
00059
00060
00061 const std::string& name( ) const { return _name; }
00062
00063
00064
00065 const std::string& description( ) const { return _description; }
00066
00067
00068
00069 void column_names( std::vector<std::string>& theColumnNames ) const { theColumnNames = _columnNames; }
00070
00071 private:
00072
00073 UInt_t _columns;
00074
00075 std::string _name;
00076 std::string _description;
00077
00078 std::vector<std::string> _columnNames;
00079
00080 ClassDef(CdbRooNTupleBaseR,1);
00081 };
00082
00083 #endif