RooRealAnalytic.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitCore                                                       *
00004  *    File: $Id: RooRealAnalytic.h,v 1.8 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_REAL_ANALYTIC
00017 #define ROO_REAL_ANALYTIC
00018 
00019 #include "RooRealBinding.h"
00020 
00021 class RooRealAnalytic : public RooRealBinding {
00022 public:
00023   inline RooRealAnalytic(const RooAbsReal &func, const RooArgSet &vars, Int_t code, const RooArgSet* normSet=0, const TNamed* rangeName=0) :
00024     RooRealBinding(func,vars,normSet,rangeName), _code(code) { }
00025   inline virtual ~RooRealAnalytic() { }
00026 
00027   virtual Double_t operator()(const Double_t xvector[]) const;
00028 
00029 protected:
00030   Int_t _code;
00031 
00032   ClassDef(RooRealAnalytic,0) // Function binding to an analytical integral of a RooAbsReal
00033 };
00034 
00035 #endif
00036 

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