rarAdd.hh

Go to the documentation of this file.
00001 /*****************************************************************************
00002 * Project: BaBar detector at the SLAC PEP-II B-factory
00003 * Package: RooRarFit
00004  *    File: $Id: rarAdd.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_ADD
00011 #define RAR_ADD
00012 
00013 #include "TList.h"
00014 #include "TString.h"
00015 #include "TObject.h"
00016 
00017 #include "RooRarFit/rarCompBase.hh"
00018 
00028 class rarAdd : public rarCompBase {
00029   
00030 public:
00031   rarAdd();
00032   rarAdd(const char *configFile, const char *configSec,
00033          const char *configStr,
00034          rarDatasets *theDatasets, RooDataSet *theData,
00035          const char *name, const char *title,
00036          Bool_t useBasePdfFit=kTRUE, Bool_t buildAddPdf=kTRUE);
00037   virtual ~rarAdd();
00038   
00040   virtual RooArgList getCoeffList() {return _coeffs;}
00041   virtual RooPlot *doPdfPlot(TList &plotList, TString pdfList="");
00042   virtual RooAbsPdf *getPdfWOvar(RooArgList ignoredObs);
00043   virtual RooAbsPdf *getProtGen();
00044   
00045 protected:
00046   void init();
00047   
00048   Int_t _nCoeff; 
00049   
00050 private:
00051   Bool_t _buildAddPdf; 
00052   
00053 private:
00054   rarAdd(const rarAdd&);
00055   ClassDef(rarAdd, 0) // RooRarFit AddPdf/AddModel class
00056     ;
00057 };
00058 
00059 #endif

Generated on 30 Oct 2013 for RooRarFit by  doxygen 1.4.7