/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 *    File: $Id$
 * 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_RANGE_BOOLEAN
#define ROO_RANGE_BOOLEAN

#include "RooAbsReal.h"
#include "RooRealProxy.h"
#include "TString.h"

class RooRealVar;
class RooArgList ;
#include <list>

class RooRangeBoolean : public RooAbsReal {
public:

  RooRangeBoolean() ;
  RooRangeBoolean(const char* name, const char* title, RooAbsRealLValue& x, const char* rangeName) ;
  RooRangeBoolean(const RooRangeBoolean& other, const char* name = 0);
  virtual TObject* clone(const char* newname) const { return new RooRangeBoolean(*this, newname); }
  virtual ~RooRangeBoolean() ;


  virtual std::list<Double_t>* plotSamplingHint(RooAbsRealLValue& obs, Double_t xlo, Double_t xhi) const ; 

protected:

  RooRealProxy _x;
  TString _rangeName ;

  Double_t evaluate() const;

  ClassDef(RooRangeBoolean,1) // Polynomial function
};

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