RooUnblindPrecision.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitModels                                                     *
00004  *    File: $Id: RooUnblindPrecision.h,v 1.7 2007/05/11 10:15:52 verkerke Exp $
00005  * Authors:                                                                  *
00006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
00007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
00008  *                                                                           *
00009  * Copyright (c) 2000-2005, Regents of the University of California          *
00010  *                          and Stanford University. All rights reserved.    *
00011  *                                                                           *
00012  * Redistribution and use in source and binary forms,                        *
00013  * with or without modification, are permitted according to the terms        *
00014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
00015  *****************************************************************************/
00016 #ifndef ROO_UNBLIND_PRECISION
00017 #define ROO_UNBLIND_PRECISION
00018 
00019 #include "RooAbsHiddenReal.h"
00020 #include "RooRealProxy.h"
00021 #include "RooCategoryProxy.h"
00022 #include "RooBlindTools.h"
00023 
00024 class RooCategory ;
00025 
00026 class RooUnblindPrecision : public RooAbsHiddenReal {
00027 public:
00028   // Constructors, assignment etc
00029   RooUnblindPrecision() ;
00030   RooUnblindPrecision(const char *name, const char *title, 
00031                       const char *blindString, Double_t centralValue, Double_t scale, RooAbsReal& blindValue, Bool_t sin2betaMode=kFALSE);
00032   RooUnblindPrecision(const char *name, const char *title, 
00033                       const char *blindString, Double_t centralValue, Double_t scale, 
00034                       RooAbsReal& blindValue, RooAbsCategory& blindState, Bool_t sin2betaMode=kFALSE);
00035   RooUnblindPrecision(const RooUnblindPrecision& other, const char* name=0);
00036   virtual TObject* clone(const char* newname) const { return new RooUnblindPrecision(*this,newname); }  
00037   virtual ~RooUnblindPrecision();
00038 
00039 protected:
00040 
00041   // Function evaluation
00042   virtual Double_t evaluate() const ;
00043 
00044   RooRealProxy _value ;          // Holder of the blind value
00045   RooBlindTools _blindEngine ;   // Blinding engine
00046 
00047   ClassDef(RooUnblindPrecision,1) // Precision unblinding transformation
00048 };
00049 
00050 #endif

Generated on Tue Jul 5 14:26:28 2011 for ROOT_528-00b_version by  doxygen 1.5.1