Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GaudiTuple.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/aoRecon/src/GaudiTuple.h,v 1.3 2001/05/23 00:45:33 igable Exp $
00002 // Original author: Ian Gable
00003 // GaudiTuple.h: interface for the GaudiTuple class.
00004 //
00006 
00007 #ifndef GaudiTuple_H
00008 #define GaudiTuple_H
00009 
00010 #include <vector>
00011 
00012 #include "GaudiKernel/INTupleSvc.h"
00013 #include "GaudiKernel/INTuple.h"
00014 #include "GaudiKernel/NTuple.h"
00015 #include "GaudiKernel/SmartDataPtr.h"
00016 #include "GaudiKernel/StatusCode.h"
00017 
00018 #include "ntupleWriterSvc/INTupleWriterSvc.h"
00019 
00020 
00026 class GaudiTuple {
00027     
00028 public:
00036     GaudiTuple(INTupleWriterSvc* ntSvc, const char* title, const char* logicalFileName );
00037     ~GaudiTuple();
00038     
00043     void addItem (const char* name, const float *datum);
00044     
00046     void fill();
00047     
00048     
00049 private:
00050     
00051     INTupleWriterSvc* m_ntSvc;   
00052 
00053     std::string m_fileName; 
00054 
00056     typedef std::vector< std::pair<const char*,const float*> > container;
00057     typedef container::iterator iterator;
00058     container m_ntupleItemList; 
00059 };
00060 
00061 
00062 #endif // GaudiTuple_H

Generated at Wed Nov 21 12:21:01 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000