Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
RooRealAnalytic.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id: RooRealAnalytic.h,v 1.8 2007/05/11 09:11:30 verkerke Exp $
5  * Authors: *
6  * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7  * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8  * *
9  * Copyright (c) 2000-2005, Regents of the University of California *
10  * and Stanford University. All rights reserved. *
11  * *
12  * Redistribution and use in source and binary forms, *
13  * with or without modification, are permitted according to the terms *
14  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15  *****************************************************************************/
16 #ifndef ROO_REAL_ANALYTIC
17 #define ROO_REAL_ANALYTIC
18 
19 #include "RooRealBinding.h"
20 
21 class RooRealAnalytic : public RooRealBinding {
22 public:
23  inline RooRealAnalytic(const RooAbsReal &func, const RooArgSet &vars, Int_t code, const RooArgSet* normSet=0, const TNamed* rangeName=0) :
24  RooRealBinding(func,vars,normSet,rangeName), _code(code) { }
25  inline virtual ~RooRealAnalytic() { }
26 
27  virtual Double_t operator()(const Double_t xvector[]) const;
28 
29 protected:
30  Int_t _code;
31 
32  ClassDef(RooRealAnalytic,0) // Function binding to an analytical integral of a RooAbsReal
33 };
34 
35 #endif
36