/***************************************************************************** * Project: RooFit * * * * This code was autogenerated by RooClassFactory * *****************************************************************************/ #ifndef ROO_PARAM_HIST_FUNC #define ROO_PARAM_HIST_FUNC #include "RooAbsPdf.h" #include "RooRealProxy.h" #include "RooCategoryProxy.h" #include "RooAbsReal.h" #include "RooAbsCategory.h" #include "RooListProxy.h" #include "RooSetProxy.h" #include "RooDataHist.h" #include class RooParamHistFunc : public RooAbsReal { public: RooParamHistFunc() {} ; RooParamHistFunc(const char *name, const char *title, RooDataHist& dh, bool paramRelative=true); RooParamHistFunc(const char *name, const char *title, const RooAbsArg& x, RooDataHist& dh, bool paramRelative=true); RooParamHistFunc(const char *name, const char *title, RooDataHist& dh, const RooParamHistFunc& paramSource, bool paramRelative=true) ; RooParamHistFunc(const RooParamHistFunc& other, const char* name=nullptr) ; TObject* clone(const char* newname) const override { return new RooParamHistFunc(*this,newname); } std::list* binBoundaries(RooAbsRealLValue& /*obs*/, double /*xlo*/, double /*xhi*/) const override ; std::list* plotSamplingHint(RooAbsRealLValue& obs, double xlo, double xhi) const override ; bool isBinnedDistribution(const RooArgSet&) const override { return true ; } bool forceAnalyticalInt(const RooAbsArg&) const override { return true ; } Int_t getAnalyticalIntegralWN(RooArgSet& allVars, RooArgSet& analVars, const RooArgSet* normSet,const char* rangeName=nullptr) const override ; double analyticalIntegralWN(Int_t code, const RooArgSet* normSet, const char* rangeName=nullptr) const override ; double getActual(Int_t ibin) ; void setActual(Int_t ibin, double newVal) ; double getNominal(Int_t ibin) const ; double getNominalError(Int_t ibin) const ; const RooArgList& paramList() const { return _p ; } void translate(RooFit::Detail::CodeSquashContext &ctx) const override; protected: friend class RooHistConstraint ; RooListProxy _x ; RooListProxy _p ; RooDataHist _dh ; bool _relParam ; double evaluate() const override ; private: ClassDefOverride(RooParamHistFunc,1) // Your description goes here... }; #endif