00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ROO_UNBLIND_OFFSET
00017 #define ROO_UNBLIND_OFFSET
00018
00019 #include "RooAbsHiddenReal.h"
00020 #include "RooRealProxy.h"
00021 #include "RooBlindTools.h"
00022
00023 class RooUnblindOffset : public RooAbsHiddenReal {
00024 public:
00025
00026 RooUnblindOffset() ;
00027 RooUnblindOffset(const char *name, const char *title,
00028 const char *blindString, Double_t scale, RooAbsReal& blindValue);
00029 RooUnblindOffset(const char *name, const char *title,
00030 const char *blindString, Double_t scale, RooAbsReal& blindValue,
00031 RooAbsCategory& blindState);
00032 RooUnblindOffset(const RooUnblindOffset& other, const char* name=0);
00033 virtual TObject* clone(const char* newname) const { return new RooUnblindOffset(*this,newname); }
00034 virtual ~RooUnblindOffset();
00035
00036 protected:
00037
00038
00039 virtual Double_t evaluate() const ;
00040
00041 RooRealProxy _value ;
00042 RooBlindTools _blindEngine ;
00043
00044 ClassDef(RooUnblindOffset,1)
00045 };
00046
00047 #endif