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

RootTuple.h

Go to the documentation of this file.
00001 //$Header: /nfs/slac/g/glast/ground/cvs/merit/src/app/RootTuple.h,v 1.2 2001/03/25 00:02:51 burnett Exp $
00002 // Original author T. Burnett (w/ help from H. Kelley)
00003 #ifndef ROOTTUPLE_H
00004 #define ROOTTUPLE_H
00005 #include "analysis/Tuple.h"
00006 
00007 
00008 #include <string>
00009 
00010 class TFile;
00011 class TNtuple;
00012 class TTree;
00013 
00014 class RootTuple : public Tuple {
00015 
00016 public:
00018     RootTuple::RootTuple(std::string title, std::string file, std::string treeName);
00019     ~RootTuple(){};
00020 
00022     const TupleItem* tupleItem(const std::string& name)const;
00023 
00025     bool nextEvent();
00026 
00027     int numEvents(){return m_numEvents;}
00028 private:
00029     TTree * m_tree;
00030 
00031     int m_numEvents;
00032     int m_event;
00033 };
00034 
00035 #endif

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