![]() |
|
|
Generated: 24 Nov 2008 |
00001 // $Id: TupleTool.h,v 1.3 2006/11/30 10:16:13 mato Exp $ 00002 // ============================================================================ 00003 #ifndef GAUDIALG_TUPLETOOL_H 00004 #define GAUDIALG_TUPLETOOL_H 1 00005 // ============================================================================ 00006 // Include files 00007 // ============================================================================ 00008 // Gaudi 00009 // ============================================================================ 00010 #include "GaudiAlg/GaudiTupleTool.h" 00011 #include "GaudiAlg/ITupleTool.h" 00012 // ============================================================================ 00013 00020 class TupleTool : public GaudiTupleTool , 00021 virtual public ITupleTool 00022 { 00023 public: 00024 typedef Tuples::Tuple Tuple ; 00025 typedef GaudiAlg::TupleID TupleID ; 00026 00036 TupleTool( const std::string& type, 00037 const std::string& name, 00038 const IInterface* parent); 00039 00041 virtual ~TupleTool() ; 00042 00043 public: 00044 00064 virtual Tuple nTuple 00065 ( const std::string& title , 00066 const CLID& clid = CLID_ColumnWiseTuple ) const 00067 { return GaudiTupleTool::nTuple ( title , clid ) ; } 00068 00069 00070 virtual Tuple nTuple 00071 ( const TupleID& ID , 00072 const std::string& title = "" , 00073 const CLID& clid = CLID_ColumnWiseTuple ) const 00074 { return GaudiTupleTool::nTuple ( ID , title , clid ) ; } 00075 00076 virtual Tuple evtCol 00077 ( const std::string& title , 00078 const CLID& clid = CLID_RowWiseTuple ) const 00079 { return GaudiTupleTool::evtCol ( title , clid ) ; } 00080 00081 virtual Tuple evtCol 00082 ( const TupleID& ID , 00083 const std::string& title = "" , 00084 const CLID& clid = CLID_RowWiseTuple ) const 00085 { return GaudiTupleTool::evtCol ( ID , title , clid ) ; } 00086 00087 private: 00088 00089 TupleTool() ; 00090 TupleTool ( const TupleTool& ) ; 00091 TupleTool& operator=( const TupleTool& ) ; 00092 00093 }; 00094 #endif // GAUDIALG_TUPLETOOL_H