ROOT logo
// @(#)root/tmva $Id: TSpline1.h 40005 2011-06-27 15:29:10Z stelzer $
// Author: Andreas Hoecker, Joerg Stelzer, Helge Voss, Kai Voss 

/**********************************************************************************
 * Project: TMVA - a Root-integrated toolkit for multivariate data analysis       *
 * Package: TMVA                                                                  *
 * Class  : TSpline1                                                              *
 * Web    : http://tmva.sourceforge.net                                           *
 *                                                                                *
 * Description:                                                                   *
 *      Linear interpolation class; derivative of TSpline                         *
 *                                                                                *
 * Authors (alphabetical):                                                        *
 *      Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland              *
 *      Helge Voss      <Helge.Voss@cern.ch>     - MPI-K Heidelberg, Germany      *
 *      Kai Voss        <Kai.Voss@cern.ch>       - U. of Victoria, Canada         *
 *                                                                                *
 * Copyright (c) 2005:                                                            *
 *      CERN, Switzerland                                                         * 
 *      U. of Victoria, Canada                                                    * 
 *      MPI-K Heidelberg, Germany                                                 * 
 *                                                                                *
 * Redistribution and use in source and binary forms, with or without             *
 * modification, are permitted according to the terms listed in LICENSE           *
 * (http://tmva.sourceforge.net/LICENSE)                                          *
 **********************************************************************************/

#ifndef ROOT_TMVA_TSpline1
#define ROOT_TMVA_TSpline1

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TSpline1                                                             //
//                                                                      //
// Linear interpolation class                                           //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TSpline
#include "TSpline.h"
#endif

namespace TMVA {

   class TSpline1 : public TSpline {

   public:
  
      TSpline1( const TString& title, TGraph* theGraph );
      virtual ~TSpline1( void );

      virtual  Double_t Eval( Double_t x ) const;

      // dummy implementations
      virtual void BuildCoeff( void );
      virtual void GetKnot( Int_t i, Double_t& x, Double_t& y ) const;

      const TGraph* GetGraph() const { return fGraph; }
      
   private:

      TGraph *fGraph;  // graph that is splined

      ClassDef(TSpline1,0) //Linear interpolation class
   };

} // namespace TMVA

#endif 


 TSpline1.h:1
 TSpline1.h:2
 TSpline1.h:3
 TSpline1.h:4
 TSpline1.h:5
 TSpline1.h:6
 TSpline1.h:7
 TSpline1.h:8
 TSpline1.h:9
 TSpline1.h:10
 TSpline1.h:11
 TSpline1.h:12
 TSpline1.h:13
 TSpline1.h:14
 TSpline1.h:15
 TSpline1.h:16
 TSpline1.h:17
 TSpline1.h:18
 TSpline1.h:19
 TSpline1.h:20
 TSpline1.h:21
 TSpline1.h:22
 TSpline1.h:23
 TSpline1.h:24
 TSpline1.h:25
 TSpline1.h:26
 TSpline1.h:27
 TSpline1.h:28
 TSpline1.h:29
 TSpline1.h:30
 TSpline1.h:31
 TSpline1.h:32
 TSpline1.h:33
 TSpline1.h:34
 TSpline1.h:35
 TSpline1.h:36
 TSpline1.h:37
 TSpline1.h:38
 TSpline1.h:39
 TSpline1.h:40
 TSpline1.h:41
 TSpline1.h:42
 TSpline1.h:43
 TSpline1.h:44
 TSpline1.h:45
 TSpline1.h:46
 TSpline1.h:47
 TSpline1.h:48
 TSpline1.h:49
 TSpline1.h:50
 TSpline1.h:51
 TSpline1.h:52
 TSpline1.h:53
 TSpline1.h:54
 TSpline1.h:55
 TSpline1.h:56
 TSpline1.h:57
 TSpline1.h:58
 TSpline1.h:59
 TSpline1.h:60
 TSpline1.h:61
 TSpline1.h:62
 TSpline1.h:63
 TSpline1.h:64
 TSpline1.h:65
 TSpline1.h:66
 TSpline1.h:67
 TSpline1.h:68
 TSpline1.h:69
 TSpline1.h:70
 TSpline1.h:71