RooOsipDisc.hh

Go to the documentation of this file.
00001 /*****************************************************************************
00002 * Project: BaBar detector at the SLAC PEP-II B-factory
00003 * Package: RooRarFit
00004  *    File: $Id: RooOsipDisc.rdl,v 1.4 2011/06/16 13:18:48 fwilson 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) 2005-2012, 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_OSIPDISC    
00017 #define ROO_OSIPDISC
00018 
00019 #include "RooFitCore/RooAbsPdf.hh"
00020 #include "RooFitCore/RooRealProxy.hh"
00021 
00022 class RooRealVar;
00023 
00024 class RooOsipDisc : public RooAbsPdf {
00025 public:
00026   RooOsipDisc(const char *name, const char *title,
00027               RooAbsReal& _x, RooAbsReal& _r, RooAbsReal& _b, RooAbsReal& _a, RooAbsReal& _h, RooAbsReal& _s );
00028   RooOsipDisc(const RooOsipDisc& other, const char* name=0) ;
00029   virtual TObject* clone(const char* newname) const { return new RooOsipDisc(*this,newname); }
00030   inline virtual ~RooOsipDisc() { }
00031 
00032   Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
00033   Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const ;
00034 
00035   Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const;
00036   void generateEvent(Int_t code);
00037 
00038 protected:
00039 
00040   RooRealProxy x ;
00041   RooRealProxy r ;
00042   RooRealProxy bb ;
00043   RooRealProxy a ;
00044   RooRealProxy h ;
00045   RooRealProxy s ;
00046 
00047   Double_t evaluate() const ;
00048 
00049 private:
00050 
00051   ClassDef(RooOsipDisc,0) 
00052 };
00053 
00054 #endif

Generated on 30 Oct 2013 for RooRarFit by  doxygen 1.4.7