Report problems to ATLAS LXR Team (with time and IP address indicated)

The LXR Cross Referencer

source navigation ]
diff markup ]
identifier search ]
general search ]
 
 
Architecture: linux ]
Version: head ] [ nightly ] [ GaudiDev ]
  Links to LXR source navigation pages for stable releases [ 12.*.* ]   [ 13.*.* ]   [ 14.*.* ]   [ 15.*.* ] 

001 // $Id: ITupleTool.h,v 1.2 2004/10/18 08:18:00 mato Exp $
002 // ============================================================================
003 #ifndef GAUDIALG_ITUPLETOOL_H 
004 #define GAUDIALG_ITUPLETOOL_H 1
005 // ============================================================================
006 // Include files
007 // ============================================================================
008 // STD & STL
009 // ============================================================================
010 #include <string>
011 // ============================================================================
012 // Gaudi
013 // ============================================================================
014 #include "GaudiKernel/IAlgTool.h"
015 #include "GaudiKernel/ClassID.h"
016 // ============================================================================
017 // GaudiAlg
018 // ============================================================================
019 #include "GaudiAlg/TupleID.h"
020 #include "GaudiAlg/Tuple.h"
021 // ============================================================================
022 
023 
024 // ============================================================================
025 /** @class ITupleTool ITupleTool.h GaudiTools/ITupleTool.h
026  *  
027  *
028  *  @author Vanya BELYAEV Ivan.Belyaev@itep.ru
029  *  @date   2004-06-28
030  */
031 // ============================================================================
032 
033 class ITupleTool : virtual public IAlgTool 
034 {
035 public:
036   typedef Tuples::TupleID   TupleID ;
037   typedef Tuples::Tuple     Tuple   ;
038 public: 
039   
040   /// Return the unique interface ID
041   static const InterfaceID& interfaceID() ;
042   
043 public:
044   
045   /** get N-tuple object ( book on-demand ) with unique identidier 
046    *  
047    *  @code
048    *
049    *  ITupleTool* tool = .. ;
050    *  Tuple tuple = tool->nTuple( 'My tuple' ) ;
051    *  tuple->column( "A" , sin(0.1) );
052    *  tuple->column( "B" , cos(0.1) );
053    *  tuple->column( "C" , tan(0.1) );
054    *  tuple->write()
055    *
056    *  @endcode 
057    *
058    *  NTuple will be booked with automatically assigned numerical ID 
059    *
060    *  @param title unique title for ntuple 
061    *  @param clid  class identifier 
062    *  @return ntuple object 
063    */
064   virtual Tuple  nTuple 
065   ( const std::string& title                        , 
066     const CLID&        clid  = CLID_ColumnWiseTuple ) const = 0 ;
067   
068   virtual Tuple  nTuple 
069   ( const TupleID&     ID                           , 
070     const std::string& title = ""                   , 
071     const CLID&        clid  = CLID_ColumnWiseTuple ) const = 0 ;
072   
073   virtual Tuple  evtCol 
074   ( const std::string& title                        , 
075     const CLID&        clid  = CLID_RowWiseTuple    ) const = 0 ;
076   
077   virtual Tuple  evtCol 
078   ( const TupleID&     ID                           , 
079     const std::string& title = ""                   , 
080     const CLID&        clid  = CLID_RowWiseTuple    ) const = 0 ;
081   
082 protected:
083 
084   virtual ~ITupleTool( ); ///< Destructor
085 
086 };
087 
088 // ============================================================================
089 #endif // GAUDIALG_ITUPLETOOL_H
090 // ============================================================================
091 

source navigation ] diff markup ] identifier search ] general search ]

Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems
This page was automatically generated by the LXR engine. Valid HTML 4.01!