00001 /***************************************************************************** 00002 * Project: BaBar detector at the SLAC PEP-II B-factory 00003 * Package: RooRarFit 00004 * File: $Id: rarGaussModel.rdl,v 1.3 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_GAUSSMODEL 00011 #define RAR_GAUSSMODEL 00012 00013 #include "TList.h" 00014 #include "TString.h" 00015 #include "TObject.h" 00016 00017 #include "RooRarFit/rarBasePdf.hh" 00018 00048 class rarGaussModel : public rarBasePdf { 00049 00050 public: 00051 rarGaussModel(); 00052 rarGaussModel(const char *configFile, const char *configSec, 00053 const char *configStr, 00054 rarDatasets *theDatasets, RooDataSet *theData, 00055 const char *name, const char *title); 00056 virtual ~rarGaussModel(); 00057 00058 protected: 00059 void init(); 00060 00061 RooRealVar *_x; 00062 RooAbsReal *_mean; 00063 RooAbsReal *_sigma; 00064 RooAbsReal *_msSF; 00065 RooAbsReal *_meanSF; 00066 RooAbsReal *_sigmaSF; 00067 00068 private: 00069 rarGaussModel(const rarGaussModel&); 00070 ClassDef(rarGaussModel, 0) // RooRarFit Gaussian Resolution Model class 00071 ; 00072 }; 00073 00074 #endif