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_PRECISION
0017 #define ROO_UNBLIND_PRECISION
0018
0019 #include "RooAbsHiddenReal.h"
0020 #include "RooRealProxy.h"
0021 #include "RooCategoryProxy.h"
0022 #include "RooBlindTools.h"
0023
0024 class RooCategory ;
0025
0026 class RooUnblindPrecision : public RooAbsHiddenReal {
0027 public:
0028
0029 RooUnblindPrecision() = default;
0030 RooUnblindPrecision(const char *name, const char *title,
0031 const char *blindString, double centralValue, double scale, RooAbsReal& blindValue, bool sin2betaMode=false);
0032 RooUnblindPrecision(const char *name, const char *title,
0033 const char *blindString, double centralValue, double scale,
0034 RooAbsReal& blindValue, RooAbsCategory& blindState, bool sin2betaMode=false);
0035 RooUnblindPrecision(const RooUnblindPrecision& other, const char* name=nullptr);
0036 TObject* clone(const char* newname) const override { return new RooUnblindPrecision(*this,newname); }
0037
0038 protected:
0039
0040
0041 double evaluate() const override ;
0042
0043 RooRealProxy _value ;
0044 RooBlindTools _blindEngine ;
0045
0046 ClassDefOverride(RooUnblindPrecision,1)
0047 };
0048
0049 #endif