/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitModels                                                     *
 *    File: $Id: RooUnblindUniform.h,v 1.5 2007/05/11 10:15:52 verkerke Exp $
 * Authors:                                                                  *
 *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
 *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
 *                                                                           *
 * Copyright (c) 2000-2005, Regents of the University of California          *
 *                          and Stanford University. All rights reserved.    *
 *                                                                           *
 * Redistribution and use in source and binary forms,                        *
 * with or without modification, are permitted according to the terms        *
 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
 *****************************************************************************/
#ifndef ROO_UNBLIND_UNIFORM
#define ROO_UNBLIND_UNIFORM

#include "RooAbsHiddenReal.h"
#include "RooRealProxy.h"
#include "RooBlindTools.h"

class RooUnblindUniform : public RooAbsHiddenReal {
public:
  // Constructors, assignment etc
  RooUnblindUniform() ;
  RooUnblindUniform(const char *name, const char *title, 
		      const char *blindString, Double_t scale, RooAbsReal& blindValue);
  RooUnblindUniform(const RooUnblindUniform& other, const char* name=0);
  virtual TObject* clone(const char* newname) const { return new RooUnblindUniform(*this,newname); }  
  virtual ~RooUnblindUniform();

protected:

  // Function evaluation
  virtual Double_t evaluate() const ;

  RooRealProxy _value ;
  RooBlindTools _blindEngine ;

  ClassDef(RooUnblindUniform,1) // Uniform unblinding transformation
};

#endif
 RooUnblindUniform.h:1
 RooUnblindUniform.h:2
 RooUnblindUniform.h:3
 RooUnblindUniform.h:4
 RooUnblindUniform.h:5
 RooUnblindUniform.h:6
 RooUnblindUniform.h:7
 RooUnblindUniform.h:8
 RooUnblindUniform.h:9
 RooUnblindUniform.h:10
 RooUnblindUniform.h:11
 RooUnblindUniform.h:12
 RooUnblindUniform.h:13
 RooUnblindUniform.h:14
 RooUnblindUniform.h:15
 RooUnblindUniform.h:16
 RooUnblindUniform.h:17
 RooUnblindUniform.h:18
 RooUnblindUniform.h:19
 RooUnblindUniform.h:20
 RooUnblindUniform.h:21
 RooUnblindUniform.h:22
 RooUnblindUniform.h:23
 RooUnblindUniform.h:24
 RooUnblindUniform.h:25
 RooUnblindUniform.h:26
 RooUnblindUniform.h:27
 RooUnblindUniform.h:28
 RooUnblindUniform.h:29
 RooUnblindUniform.h:30
 RooUnblindUniform.h:31
 RooUnblindUniform.h:32
 RooUnblindUniform.h:33
 RooUnblindUniform.h:34
 RooUnblindUniform.h:35
 RooUnblindUniform.h:36
 RooUnblindUniform.h:37
 RooUnblindUniform.h:38
 RooUnblindUniform.h:39
 RooUnblindUniform.h:40
 RooUnblindUniform.h:41
 RooUnblindUniform.h:42
 RooUnblindUniform.h:43
 RooUnblindUniform.h:44