00001 /***************************************************************************** 00002 * Project: BaBar detector at the SLAC PEP-II B-factory 00003 * Package: RooRarFit 00004 * File: $Id: rarTwoGauss.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_TWOGAUSS 00011 #define RAR_TWOGAUSS 00012 00013 #include "TList.h" 00014 #include "TString.h" 00015 #include "TObject.h" 00016 00017 #include "RooRarFit/rarBasePdf.hh" 00018 00024 class rarTwoGauss : public rarBasePdf { 00025 00026 public: 00027 rarTwoGauss(); 00028 rarTwoGauss(const char*configFile,const char*configSec,const char*configStr, 00029 rarDatasets *theDatasets, RooDataSet *theData, 00030 const char *name, const char *title); 00031 virtual ~rarTwoGauss(); 00032 00033 protected: 00034 void init(); 00035 00036 RooAbsReal *_x; 00037 RooAbsReal *_meanC; 00038 RooAbsReal *_sigmaC; 00039 RooAbsReal *_meanT; 00040 RooAbsReal *_sigmaT; 00041 RooAbsReal *_fracC; 00042 RooAbsReal *_scale; 00043 RooAbsReal *_shift; 00044 00045 private: 00046 rarTwoGauss(const rarTwoGauss&); 00047 ClassDef(rarTwoGauss, 0) // RooRarFit TwoGauss Pdf class 00048 ; 00049 }; 00050 00051 #endif