File indexing completed on 2025-01-18 10:11:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ROO_RANGE_BOOLEAN
0017 #define ROO_RANGE_BOOLEAN
0018
0019 #include <RooAbsReal.h>
0020 #include <RooRealProxy.h>
0021
0022 #include <TString.h>
0023
0024 #include <list>
0025
0026 class RooRangeBoolean : public RooAbsReal {
0027 public:
0028
0029 RooRangeBoolean() = default;
0030 RooRangeBoolean(const char* name, const char* title, RooAbsRealLValue& x, const char* rangeName) ;
0031 RooRangeBoolean(const RooRangeBoolean& other, const char *name = nullptr);
0032 TObject* clone(const char* newname) const override { return new RooRangeBoolean(*this, newname); }
0033
0034 std::list<double>* plotSamplingHint(RooAbsRealLValue& obs, double xlo, double xhi) const override ;
0035
0036 protected:
0037
0038 RooRealProxy _x;
0039 TString _rangeName ;
0040
0041 double evaluate() const override;
0042
0043 ClassDefOverride(RooRangeBoolean,1)
0044 };
0045
0046 #endif