00001 /***************************************************************************** 00002 * Project: BaBar detector at the SLAC PEP-II B-factory 00003 * Package: RooRarFit 00004 * File: $Id: rarDecay.rdl,v 1.7 2011/06/16 13:18:49 fwilson Exp $ 00005 * Authors: Lei Zhang 00006 * History: 00007 * 00008 * Copyright (C) 2005-2012, University of California, Riverside 00009 *****************************************************************************/ 00010 #ifndef RAR_DECAY 00011 #define RAR_DECAY 00012 00013 #include "TList.h" 00014 #include "TString.h" 00015 #include "TObject.h" 00016 00017 #include "RooRarFit/rarBasePdf.hh" 00018 00031 class rarDecay : public rarBasePdf { 00032 00033 public: 00034 rarDecay(); 00035 rarDecay(const char*configFile, const char*configSec, const char*configStr, 00036 rarDatasets *theDatasets, RooDataSet *theData, 00037 const char *name, const char *title); 00038 virtual ~rarDecay(); 00039 00040 virtual RooAbsPdf *getProtGen(); 00041 00042 protected: 00043 void init(); 00044 00045 RooRealVar *_x; 00046 RooAbsReal *_tau; 00047 rarBasePdf *_model; 00048 TString _decayType; 00049 RooAbsReal *_dm; 00050 RooAbsReal *_dgamma; 00051 RooAbsCategory *_tag; 00052 RooAbsReal *_w; 00053 RooAbsReal *_dw; 00054 RooAbsReal *_mu; 00055 TString _blindStatus; 00056 TString _blindString; 00057 RooAbsReal *_Cb; 00058 RooAbsReal *_Sb; 00059 RooAbsReal *_f0; 00060 RooAbsReal *_f1; 00061 RooAbsReal *_f2; 00062 RooAbsReal *_f3; 00063 00064 private: 00065 rarDecay(const rarDecay&); 00066 ClassDef(rarDecay, 0) // RooRarFit BDecay/Decay model class 00067 ; 00068 }; 00069 00070 #endif