RooSegmentedIntegrator2D.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitCore                                                       *
00004  *    File: $Id: RooSegmentedIntegrator2D.h,v 1.7 2007/05/11 09:11:30 verkerke Exp $
00005  * Authors:                                                                  *
00006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
00007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
00008  *                                                                           *
00009  * Copyright (c) 2000-2005, Regents of the University of California          *
00010  *                          and Stanford University. All rights reserved.    *
00011  *                                                                           *
00012  * Redistribution and use in source and binary forms,                        *
00013  * with or without modification, are permitted according to the terms        *
00014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
00015  *****************************************************************************/
00016 #ifndef ROO_SEGMENTED_INTEGRATOR_2D
00017 #define ROO_SEGMENTED_INTEGRATOR_2D
00018 
00019 #include "RooSegmentedIntegrator1D.h"
00020 #include "RooIntegrator1D.h"
00021 #include "RooNumIntConfig.h"
00022 
00023 class RooSegmentedIntegrator2D : public RooSegmentedIntegrator1D {
00024 public:
00025 
00026   // Constructors, assignment etc
00027   RooSegmentedIntegrator2D() ;
00028 
00029   RooSegmentedIntegrator2D(const RooAbsFunc& function, const RooNumIntConfig& config) ;
00030   RooSegmentedIntegrator2D(const RooAbsFunc& function, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax,
00031                   const RooNumIntConfig& config) ;
00032   virtual RooAbsIntegrator* clone(const RooAbsFunc& function, const RooNumIntConfig& config) const ;
00033   virtual ~RooSegmentedIntegrator2D() ;
00034 
00035   virtual Bool_t checkLimits() const;
00036 
00037   virtual Bool_t canIntegrate1D() const { return kFALSE ; }
00038   virtual Bool_t canIntegrate2D() const { return kTRUE ; }
00039   virtual Bool_t canIntegrateND() const { return kFALSE ; }
00040   virtual Bool_t canIntegrateOpenEnded() const { return kFALSE ; }
00041 
00042 protected:
00043 
00044   friend class RooNumIntFactory ;
00045   static void registerIntegrator(RooNumIntFactory& fact) ;      
00046 
00047   RooSegmentedIntegrator1D* _xIntegrator ;
00048   RooAbsFunc* _xint ;
00049 
00050   ClassDef(RooSegmentedIntegrator2D,0) // 2-dimensional piece-wise numerical integration engine
00051 };
00052 
00053 #endif

Generated on Tue Jul 5 14:26:20 2011 for ROOT_528-00b_version by  doxygen 1.5.1