Warning, file /include/root/RooUniform.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ROO_UNIFORM
0017 #define ROO_UNIFORM
0018
0019 #include "RooAbsPdf.h"
0020 #include "RooListProxy.h"
0021
0022 class RooRealVar;
0023
0024 class RooUniform : public RooAbsPdf {
0025 public:
0026 RooUniform() {} ;
0027 RooUniform(const char *name, const char *title, const RooArgSet& _x);
0028 RooUniform(const RooUniform& other, const char* name=nullptr) ;
0029 TObject* clone(const char* newname) const override { return new RooUniform(*this,newname); }
0030
0031 Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=nullptr) const override ;
0032 double analyticalIntegral(Int_t code, const char* rangeName=nullptr) const override ;
0033
0034 Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, bool staticInitOK=true) const override;
0035 void generateEvent(Int_t code) override;
0036
0037 void translate(RooFit::Detail::CodeSquashContext &ctx) const override;
0038 std::string
0039 buildCallToAnalyticIntegral(Int_t code, const char *rangeName, RooFit::Detail::CodeSquashContext &ctx) const override;
0040
0041 protected:
0042
0043 RooListProxy x ;
0044
0045 double evaluate() const override ;
0046
0047
0048 private:
0049
0050 ClassDefOverride(RooUniform,1)
0051 };
0052
0053 #endif