File indexing completed on 2023-03-17 11:16:45
0001
0002
0003
0004
0005
0006
0007 #ifndef CMSBKGLINESHAPE
0008 #define CMSBKGLINESHAPE
0009
0010 #include "RooAbsPdf.h"
0011 #include "RooRealProxy.h"
0012 #include "RooCategoryProxy.h"
0013 #include "RooAbsReal.h"
0014 #include "RooAbsCategory.h"
0015
0016 class CMSBkgLineShape : public RooAbsPdf {
0017 public:
0018 CMSBkgLineShape() {} ;
0019 CMSBkgLineShape(const char *name, const char *title,
0020 RooAbsReal& _x,
0021 RooAbsReal& _alpha,
0022 RooAbsReal& _beta,
0023 RooAbsReal& _peak,
0024 RooAbsReal& _gamma);
0025 CMSBkgLineShape(const CMSBkgLineShape& other, const char* name=0) ;
0026 virtual TObject* clone(const char* newname) const { return new CMSBkgLineShape(*this,newname); }
0027 inline virtual ~CMSBkgLineShape() { }
0028
0029
0030 protected:
0031
0032 RooRealProxy x ;
0033 RooRealProxy alpha ;
0034 RooRealProxy beta ;
0035 RooRealProxy peak ;
0036 RooRealProxy gamma ;
0037
0038 Double_t evaluate() const ;
0039
0040 private:
0041
0042 ClassDef(CMSBkgLineShape,1)
0043 };
0044
0045 #endif