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

GlastTuple.h

Go to the documentation of this file.
00001 // $Id: GlastTuple.h,v 1.3 2000/11/27 02:16:43 burnett Exp $
00002 
00003 #ifndef GLAST_TUPLE_H
00004 #define GLAST_TUPLE_H 1
00005 
00006 #include "reconstruction/analysis/Tuple.h"
00007 
00008 # include <iostream>
00009 
00010 class GlastTuple : public Tuple  
00011 {
00012   public:
00013       GlastTuple (const char* title = "GlastData");
00014 
00015       ~GlastTuple();
00016 
00019       void addItem (const char* name, const float* datum);
00020 
00022       void dumpData ();
00023 
00024       static GlastTuple* instance ()
00025       {
00026         return s_instance;
00027       }
00028 
00029     // Additional Public Declarations
00030       void fill(); // transfer data from m_float_array to the tuple
00031 
00032 
00033   private:
00034       static GlastTuple *s_instance;
00035       std::vector <TupleItem*>::iterator m_column;
00036       std::vector<const float*> m_float_array; // parallel array of pointers to data values
00037 
00038 
00039 };
00040 #endif

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