#ifndef ROO_UNBLIND_PRECISION
#define ROO_UNBLIND_PRECISION
#include "RooAbsHiddenReal.h"
#include "RooRealProxy.h"
#include "RooCategoryProxy.h"
#include "RooBlindTools.h"
class RooCategory ;
class RooUnblindPrecision : public RooAbsHiddenReal {
public:
RooUnblindPrecision() ;
RooUnblindPrecision(const char *name, const char *title,
const char *blindString, Double_t centralValue, Double_t scale, RooAbsReal& blindValue, Bool_t sin2betaMode=kFALSE);
RooUnblindPrecision(const char *name, const char *title,
const char *blindString, Double_t centralValue, Double_t scale,
RooAbsReal& blindValue, RooAbsCategory& blindState, Bool_t sin2betaMode=kFALSE);
RooUnblindPrecision(const RooUnblindPrecision& other, const char* name=0);
virtual TObject* clone(const char* newname) const { return new RooUnblindPrecision(*this,newname); }
virtual ~RooUnblindPrecision();
protected:
virtual Double_t evaluate() const ;
RooRealProxy _value ;
RooBlindTools _blindEngine ;
ClassDef(RooUnblindPrecision,1)
};
#endif