File indexing completed on 2024-04-06 12:24:13
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOPOWLAW
0013 #define ROOPOWLAW
0014
0015 #include "RooAbsPdf.h"
0016 #include "RooRealProxy.h"
0017 #include "RooCategoryProxy.h"
0018 #include "RooAbsReal.h"
0019 #include "RooAbsCategory.h"
0020 #include "TMath.h"
0021
0022 class RooPowLaw : public RooAbsPdf {
0023 public:
0024 RooPowLaw() {} ;
0025 RooPowLaw(const char *name, const char *title,
0026 RooAbsReal& _m,
0027 RooAbsReal& _alpha
0028 );
0029 RooPowLaw(const RooPowLaw& other, const char* name=0) ;
0030 virtual TObject* clone(const char* newname) const { return new RooPowLaw(*this,newname); }
0031 inline virtual ~RooPowLaw() { }
0032
0033 protected:
0034
0035 RooRealProxy m ;
0036 RooRealProxy alpha ;
0037
0038 Double_t evaluate() const ;
0039
0040 private:
0041
0042 ClassDef(RooPowLaw,1)
0043 };
0044
0045 #endif