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