RooGenProdProj.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitCore                                                       *
00004  *    File: $Id: RooGenProdProj.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_GEN_PROD_PROJ
00017 #define ROO_GEN_PROD_PROJ
00018 
00019 #include "RooAbsReal.h"
00020 #include "RooSetProxy.h"
00021 #include "RooListProxy.h"
00022 
00023 class RooRealVar;
00024 class RooArgList ;
00025 
00026 class RooGenProdProj : public RooAbsReal {
00027 public:
00028 
00029   RooGenProdProj() ;
00030   RooGenProdProj(const char *name, const char *title, const RooArgSet& _prodSet, const RooArgSet& _intSet, 
00031                  const RooArgSet& _normSet, const char* isetRangeName, const char* normRangeName=0, Bool_t doFactorize=kTRUE) ;
00032 
00033   RooGenProdProj(const RooGenProdProj& other, const char* name = 0);
00034   virtual TObject* clone(const char* newname) const { return new RooGenProdProj(*this, newname); }
00035   virtual ~RooGenProdProj() ;
00036 
00037 protected:
00038 
00039   RooAbsReal* makeIntegral(const char* name, const RooArgSet& compSet, const RooArgSet& intSet, 
00040                            RooArgSet& saveSet, const char* isetRangeName, Bool_t doFactorize) ;
00041 
00042   virtual void operModeHook() ;
00043 
00044   Double_t evaluate() const;
00045   RooArgSet* _compSetOwnedN ; // Owner of numerator components 
00046   RooArgSet* _compSetOwnedD ; // Owner of denominator components
00047   RooSetProxy _compSetN ; // Set proxy for numerator components 
00048   RooSetProxy _compSetD ; // Set proxy for denominator components 
00049   RooListProxy _intList ; // Master integrals representing numerator and denominator
00050   Bool_t _haveD ;         // Do we have a denominator term?
00051 
00052   ClassDef(RooGenProdProj,1) // General form of projected integral of product of PDFs, utility class for RooProdPdf
00053 };
00054 
00055 #endif

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