00001 /***************************************************************************** 00002 * Project: BaBar detector at the SLAC PEP-II B-factory 00003 * Package: RooRarFit 00004 * File: $Id: rarFlatte.rdl,v 1.3 2011/08/26 17:54:17 fwilson Exp $ 00005 * Authors: Fergus Wilson 00006 * History: 00007 * 00008 * Copyright (C) 2005-2012, RAL 00009 *****************************************************************************/ 00010 #ifndef RAR_FLATTE 00011 #define RAR_FLATTE 00012 00013 #include "TList.h" 00014 #include "TString.h" 00015 #include "TObject.h" 00016 00017 #include "RooRarFit/rarBasePdf.hh" 00018 00046 class rarFlatte : public rarBasePdf { 00047 00048 public: 00049 rarFlatte(); 00050 rarFlatte(const char *configFile, const char *configSec, 00051 const char *configStr, 00052 rarDatasets *theDatasets, RooDataSet *theData, 00053 const char *name, const char *title); 00054 virtual ~rarFlatte(); 00055 00056 protected: 00057 void init(); 00058 00059 RooAbsReal *_x; 00060 RooAbsReal *_mean ; // resonance mass 00061 RooAbsReal *_g0 ; // square of the coupling constant to channel 1 00062 RooAbsReal *_m0a ; // mass of first final state particle in channel 1 00063 RooAbsReal *_m0b ; // mass of second final state particle in channel 1 00064 RooAbsReal *_g1 ; // square of the coupling constant to channel 2 00065 RooAbsReal *_m1a ; // mass of first final state particle in channel 2 00066 RooAbsReal *_m1b ; // mass of second final state particle in channel 2 00067 00068 private: 00069 rarFlatte(const rarFlatte&); 00070 00071 ClassDef(rarFlatte, 0) // RooRarFit Flatte PDF class 00072 ; 00073 }; 00074 00075 #endif