File indexing completed on 2025-01-18 10:11:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ROO_UNBLIND_OFFSET
0017 #define ROO_UNBLIND_OFFSET
0018
0019 #include "RooAbsHiddenReal.h"
0020 #include "RooRealProxy.h"
0021 #include "RooBlindTools.h"
0022
0023 class RooUnblindOffset : public RooAbsHiddenReal {
0024 public:
0025
0026 RooUnblindOffset() = default;
0027 RooUnblindOffset(const char *name, const char *title,
0028 const char *blindString, double scale, RooAbsReal& blindValue);
0029 RooUnblindOffset(const char *name, const char *title,
0030 const char *blindString, double scale, RooAbsReal& blindValue,
0031 RooAbsCategory& blindState);
0032 RooUnblindOffset(const RooUnblindOffset& other, const char* name=nullptr);
0033 TObject* clone(const char* newname) const override { return new RooUnblindOffset(*this,newname); }
0034
0035 protected:
0036
0037
0038 double evaluate() const override ;
0039
0040 RooRealProxy _value ;
0041 RooBlindTools _blindEngine ;
0042
0043 ClassDefOverride(RooUnblindOffset,1)
0044 };
0045
0046 #endif