Revision 67b502021c47d95a161307bd8f930746f6be115f authored by Philippe Canal on 23 February 2016, 22:56:19 UTC, committed by Philippe Canal on 26 February 2016, 01:28:03 UTC
1 parent ab60d60
Raw File
XSGraph.h
/*
 * $Header$
 * $Log$
 */

#ifndef __XSGRAPH_H
#define __XSGRAPH_H

#include <TGraph.h>
#include <TString.h>

#include "NdbMTReactionXS.h"

/* =================== XSGraph ===================== */
class XSGraph : public TObject
{
protected:
   TString   desc;
   Int_t     Z;
   Int_t     A;

   Int_t     N;
   Float_t  *X;
   Float_t  *Y;

   TGraph   *graph;

public:
   XSGraph()
   {
      N = 0;
      X = Y = NULL;
      graph = NULL;
   }

   XSGraph( NdbMTReactionXS *reac );
   ~XSGraph();

   inline TGraph*   GetGraph()   { return graph; }

   //ClassDef(XSGraph,1)
}; // XSGraph

#endif
back to top