RooUnblindOffset.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitModels                                                     *
00004  *    File: $Id: RooUnblindOffset.h,v 1.6 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_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   // Constructors, assignment etc
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   // Function evaluation
00039   virtual Double_t evaluate() const ;
00040 
00041   RooRealProxy _value ;
00042   RooBlindTools _blindEngine ;
00043 
00044   ClassDef(RooUnblindOffset,1) // Offset unblinding transformation
00045 };
00046 
00047 #endif

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