XSGraph.h

Go to the documentation of this file.
00001 /*
00002  * $Header$
00003  * $Log$
00004  */
00005 
00006 #ifndef __XSGRAPH_H
00007 #define __XSGRAPH_H
00008 
00009 #include <TGraph.h>
00010 #include <TString.h>
00011 
00012 #include "NdbMTReactionXS.h"
00013 
00014 /* =================== XSGraph ===================== */
00015 class XSGraph : public TObject
00016 {
00017 protected:
00018         TString desc;
00019         Int_t   Z;
00020         Int_t   A;
00021 
00022         Int_t   N;
00023         Float_t *X;
00024         Float_t *Y;
00025 
00026         TGraph  *graph;
00027 
00028 public:
00029         XSGraph()
00030         {
00031                 N = 0;
00032                 X = Y = NULL;
00033                 graph = NULL;
00034         }
00035 
00036         XSGraph( NdbMTReactionXS *reac );
00037         ~XSGraph();
00038 
00039         inline TGraph*  GetGraph()      { return graph; }
00040 
00041         //ClassDef(XSGraph,1)
00042 }; // XSGraph
00043 
00044 #endif

Generated on Tue Jul 5 15:15:05 2011 for ROOT_528-00b_version by  doxygen 1.5.1