00001 /***************************************************************************** 00002 * Project: BaBar detector at the SLAC PEP-II B-factory 00003 * Package: RooRarFit 00004 * File: $Id: rarGaussian.rdl,v 1.4 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_GAUSSIAN 00011 #define RAR_GAUSSIAN 00012 00013 #include "TList.h" 00014 #include "TString.h" 00015 #include "TObject.h" 00016 00017 #include "RooRarFit/rarBasePdf.hh" 00018 00038 class rarGaussian : public rarBasePdf { 00039 00040 public: 00041 rarGaussian(); 00042 rarGaussian(const char*configFile,const char*configSec,const char*configStr, 00043 rarDatasets *theDatasets, RooDataSet *theData, 00044 const char *name, const char *title); 00045 virtual ~rarGaussian(); 00046 00047 protected: 00048 void init(); 00049 00050 RooAbsReal *_x; 00051 RooAbsReal *_mean; 00052 RooAbsReal *_sigma; 00053 RooAbsReal *_scale; 00054 RooAbsReal *_shift; 00055 00056 private: 00057 rarGaussian(const rarGaussian&); 00058 ClassDef(rarGaussian, 0) // RooRarFit Gaussian/BreitWigner Pdf class 00059 ; 00060 }; 00061 00062 #endif