RooBifurGauss.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitModels                                                     *
00004  *    File: $Id: RooBifurGauss.h,v 1.12 2007/07/12 20:30:49 wouter Exp $
00005  * Authors:                                                                  *
00006  *   Abi Soffer, Colorado State University, abi@slac.stanford.edu            *
00007  *                                                                           *
00008  * Copyright (c) 2000-2005, Regents of the University of California,         *
00009  *                          Colorado State University                        *
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_BIFUR_GAUSS
00017 #define ROO_BIFUR_GAUSS
00018 
00019 #include "RooAbsPdf.h"
00020 #include "RooRealProxy.h"
00021 
00022 class RooRealVar;
00023 
00024 class RooBifurGauss : public RooAbsPdf {
00025 public:
00026   RooBifurGauss() {} ;
00027   RooBifurGauss(const char *name, const char *title, RooAbsReal& _x, 
00028                 RooAbsReal& _mean, RooAbsReal& _sigmaL, RooAbsReal& _sigmaR);
00029 
00030   RooBifurGauss(const RooBifurGauss& other, const char* name=0) ;
00031   virtual TObject* clone(const char* newname) const { return new RooBifurGauss(*this,newname); }
00032   inline virtual ~RooBifurGauss() { }
00033 
00034   Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
00035   Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const ;
00036 
00037 
00038 protected:
00039 
00040   RooRealProxy x;
00041   RooRealProxy mean;
00042   RooRealProxy sigmaL;
00043   RooRealProxy sigmaR;
00044 
00045   Double_t evaluate() const;
00046 
00047 private:
00048 
00049   ClassDef(RooBifurGauss,1) // Bifurcated Gaussian PDF
00050 };
00051 
00052 #endif

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