00001 /***************************************************************************** 00002 * Project: BaBar detector at the SLAC PEP-II B-factory 00003 * Package: RooRarFit 00004 * File: $Id: rarThreshold.rdl,v 1.1 2012/04/02 14:47:57 fwilson Exp $ 00005 * Authors: Fergus Wilson 00006 * History: 00007 * 00008 * Copyright (C) 2005-2012, RAL 00009 *****************************************************************************/ 00010 #ifndef RAR_THRESHOLD 00011 #define RAR_THRESHOLD 00012 00013 #include "TList.h" 00014 #include "TString.h" 00015 #include "TObject.h" 00016 00017 #include "RooRarFit/rarBasePdf.hh" 00018 00041 class rarThreshold : public rarBasePdf { 00042 00043 public: 00044 rarThreshold(); 00045 rarThreshold(const char *configFile, const char *configSec, 00046 const char *configStr, 00047 rarDatasets *theDatasets, RooDataSet *theData, 00048 const char *name, const char *title); 00049 virtual ~rarThreshold(); 00050 00051 protected: 00052 void init(); 00053 00054 RooAbsReal *_x ; 00055 RooAbsReal *_m0 ; //< square of the coupling constant to channel 1 00056 RooAbsReal *_power ; //< resonance mass 00057 Int_t _nOrder ; //< order of polynomial 00058 00059 private: 00060 rarThreshold(const rarThreshold&); 00061 00062 ClassDef(rarThreshold, 0) // RooRarFit Threshold PDF class 00063 ; 00064 }; 00065 00066 #endif