00001 /***************************************************************************** 00002 * Project: BaBar detector at the SLAC PEP-II B-factory 00003 * Package: RooRarFit 00004 * File: $Id: rarTriGauss.rdl,v 1.5 2011/06/16 13:18:51 fwilson Exp $ 00005 * Authors: Lei Zhang 00006 * History: 00007 * 00008 * Copyright (C) 2005-2012, University of California, Riverside 00009 *****************************************************************************/ 00010 #ifndef RAR_TRIGAUSS 00011 #define RAR_TRIGAUSS 00012 00013 #include "TList.h" 00014 #include "TString.h" 00015 #include "TObject.h" 00016 00017 #include "RooRarFit/rarBasePdf.hh" 00018 00026 class rarTriGauss : public rarBasePdf { 00027 00028 public: 00029 rarTriGauss(); 00030 rarTriGauss(const char*configFile,const char*configSec,const char*configStr, 00031 rarDatasets *theDatasets, RooDataSet *theData, 00032 const char *name, const char *title); 00033 virtual ~rarTriGauss(); 00034 00035 protected: 00036 void init(); 00037 00038 RooAbsReal *_x; 00039 RooAbsReal *_tau; 00040 RooAbsReal *_msSF; 00041 RooAbsReal *_meanC; 00042 RooAbsReal *_sigmaC; 00043 RooAbsReal *_meanT; 00044 RooAbsReal *_sigmaT; 00045 RooAbsReal *_meanO; 00046 RooAbsReal *_sigmaO; 00047 RooAbsReal *_fracC; 00048 RooAbsReal *_fracO; 00049 00050 private: 00051 rarTriGauss(const rarTriGauss&); 00052 ClassDef(rarTriGauss, 0) // RooRarFit TriGauss related Pdf class 00053 ; 00054 }; 00055 00056 #endif