RooDstD0BG.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitModels                                                     *
00004  *    File: $Id: RooDstD0BG.h,v 1.12 2007/07/12 20:30:49 wouter Exp $
00005  * Authors:                                                                  *
00006  *   UE, Ulrik Egede,     RAL,               U.Egede@rl.ac.uk                *
00007  *   MT, Max Turri,       UC Santa Cruz      turri@slac.stanford.edu         *
00008  *   CC, Chih-hsiang Cheng, Stanford         chcheng@slac.stanford.edu       *
00009  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
00010  *                                                                           *
00011  * Copyright (c) 2000-2005, Regents of the University of California          *
00012  *                          RAL and Stanford University. All rights reserved.*
00013  *                                                                           *
00014  * Redistribution and use in source and binary forms,                        *
00015  * with or without modification, are permitted according to the terms        *
00016  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
00017  *****************************************************************************/
00018 #ifndef ROO_DstD0_BG
00019 #define ROO_DstD0_BG
00020 
00021 #include "RooAbsPdf.h"
00022 #include "RooRealProxy.h"
00023 
00024 class RooRealVar;
00025 
00026 class RooDstD0BG : public RooAbsPdf {
00027 public:
00028   RooDstD0BG() {} ;
00029   RooDstD0BG(const char *name, const char *title,
00030              RooAbsReal& _dm, RooAbsReal& _dm0, RooAbsReal& _c,
00031              RooAbsReal& _a, RooAbsReal& _b);
00032 
00033   RooDstD0BG(const RooDstD0BG& other, const char *name=0) ;
00034   virtual TObject *clone(const char *newname) const { 
00035     return new RooDstD0BG(*this,newname); }
00036   inline virtual ~RooDstD0BG() { };
00037   
00038   Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
00039   Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const ;
00040   
00041 protected:
00042 
00043   RooRealProxy dm ;
00044   RooRealProxy dm0 ;
00045   RooRealProxy C,A,B ;
00046 
00047   Double_t evaluate() const;
00048   
00049 private:
00050   
00051   ClassDef(RooDstD0BG,1) // D*-D0 mass difference background PDF
00052 };
00053 
00054 #endif

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