Warning, file /include/root/RooLegendre.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 #ifndef ROO_LEGENDRE
0015 #define ROO_LEGENDRE
0016
0017 #include "RooAbsReal.h"
0018 #include "RooRealProxy.h"
0019
0020 class RooLegendre : public RooAbsReal {
0021 public:
0022 RooLegendre() ;
0023
0024
0025 RooLegendre(const char *name, const char *title, RooAbsReal& ctheta, int l, int m=0);
0026
0027 RooLegendre(const char *name, const char *title, RooAbsReal& ctheta, int l1, int m1, int l2, int m2);
0028
0029 RooLegendre(const RooLegendre& other, const char *name = nullptr);
0030 TObject* clone(const char* newname) const override { return new RooLegendre(*this, newname); }
0031
0032 Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=nullptr) const override ;
0033 double analyticalIntegral(Int_t code, const char* rangeName=nullptr) const override ;
0034
0035 Int_t getMaxVal( const RooArgSet& vars) const override;
0036 double maxVal( Int_t code) const override;
0037
0038 protected:
0039 RooRealProxy _ctheta;
0040 int _l1,_m1;
0041 int _l2,_m2;
0042
0043 double evaluate() const override;
0044 void doEval(RooFit::EvalContext &) const override;
0045
0046 ClassDefOverride(RooLegendre,1)
0047 };
0048
0049 #endif