00001 /***************************************************************************** 00002 * Project: RooFit * 00003 * * 00004 * This code was autogenerated by RooClassFactory * 00005 *****************************************************************************/ 00006 00007 #ifndef RooStats_Heaviside 00008 #define RooStats_Heaviside 00009 00010 #ifndef ROO_ABS_REAL 00011 #include "RooAbsReal.h" 00012 #endif 00013 #ifndef ROO_REAL_PROXY 00014 #include "RooRealProxy.h" 00015 #endif 00016 #ifndef ROO_CATEGORY_PROXY 00017 #include "RooCategoryProxy.h" 00018 #endif 00019 #ifndef ROO_ABS_REAL 00020 #include "RooAbsReal.h" 00021 #endif 00022 #ifndef ROO_ABS_CATEGORY 00023 #include "RooAbsCategory.h" 00024 #endif 00025 00026 namespace RooStats { 00027 00028 class Heaviside : public RooAbsReal { 00029 public: 00030 Heaviside() {} ; 00031 Heaviside(const char *name, const char *title, 00032 RooAbsReal& _x, 00033 RooAbsReal& _c); 00034 Heaviside(const Heaviside& other, const char* name=0) ; 00035 virtual TObject* clone(const char* newname) const { return new Heaviside(*this,newname); } 00036 inline virtual ~Heaviside() { } 00037 00038 protected: 00039 00040 RooRealProxy x ; 00041 RooRealProxy c ; 00042 00043 Double_t evaluate() const ; 00044 00045 private: 00046 00047 ClassDef(Heaviside,1) // Your description goes here... 00048 }; 00049 } 00050 00051 #endif