00001 /***************************************************************************** 00002 * Project: BaBar detector at the SLAC PEP-II B-factory 00003 * Package: RooRarFit 00004 * File: $Id: rarMLPdf.rdl,v 1.6 2011/06/16 13:18:50 fwilson Exp $ 00005 * Authors: Lei Zhang 00006 * History: 00007 * 00008 * Copyright (C) 2005-2012, University of California, Riverside 00009 *****************************************************************************/ 00010 #ifndef RAR_MLPDF 00011 #define RAR_MLPDF 00012 00013 #include "TList.h" 00014 #include "TString.h" 00015 #include "TObject.h" 00016 00017 #include "RooRarFit/rarAdd.hh" 00018 00043 class rarMLPdf : public rarAdd { 00044 00045 public: 00046 rarMLPdf(); 00047 rarMLPdf(const char *configFile, const char *configSec, const char*configStr, 00048 rarDatasets *theDatasets, RooDataSet *theData, 00049 const char *name, const char *title); 00050 virtual ~rarMLPdf(); 00051 00053 virtual RooArgList getSCoeffList() {return _sCoeffs;} 00054 virtual RooArgSet getSpecialSet(TString setName="specialSet"); 00055 00058 virtual TString getSpecialStr(){return _specialStr;} 00059 virtual RooAbsPdf *getProtGen(); 00060 00061 virtual RooPlot *doPdfPlot(TList &plotList, TString pdfList=""); 00062 00063 protected: 00064 void init(); 00065 00066 RooArgList _sCoeffs; 00067 RooArgSet _specialSet; 00068 RooArgSet _cat1Set; 00069 RooArgSet _asymSet; 00070 TString _specialStr; 00071 00072 private: 00073 rarMLPdf(const rarMLPdf&); 00074 ClassDef(rarMLPdf, 0) // RooRarFit ML model class 00075 ; 00076 }; 00077 00078 #endif