/*****************************************************************************
 * Project: RooFit                                                           *
 *                                                                           *
  * This code was autogenerated by RooClassFactory                            * 
 *****************************************************************************/

#ifndef ROOHISTCONSTRAINT
#define ROOHISTCONSTRAINT

#include "RooAbsPdf.h"
#include "RooRealProxy.h"
#include "RooCategoryProxy.h"
#include "RooAbsReal.h"
#include "RooAbsCategory.h"
#include "RooListProxy.h"

class RooParamHistFunc ;
 
class RooHistConstraint : public RooAbsPdf {
public:
  RooHistConstraint() {} ; 
  RooHistConstraint(const char *name, const char *title, const RooArgSet& phfSet, Int_t threshold=1000000);
  RooHistConstraint(const RooHistConstraint& other, const char* name=0) ;
  virtual TObject* clone(const char* newname) const { return new RooHistConstraint(*this,newname); }
  inline virtual ~RooHistConstraint() { }

  Double_t getLogVal(const RooArgSet* set=0) const ;

protected:

  Double_t logSum(Int_t i) const ;

  RooListProxy _gamma ;
  RooListProxy _nominal ;
  RooListProxy _nominalErr ;
  Bool_t _relParam ;
  
  Double_t evaluate() const ;

private:

  ClassDef(RooHistConstraint,1) // Your description goes here...
};
 
#endif
 RooHistConstraint.h:1
 RooHistConstraint.h:2
 RooHistConstraint.h:3
 RooHistConstraint.h:4
 RooHistConstraint.h:5
 RooHistConstraint.h:6
 RooHistConstraint.h:7
 RooHistConstraint.h:8
 RooHistConstraint.h:9
 RooHistConstraint.h:10
 RooHistConstraint.h:11
 RooHistConstraint.h:12
 RooHistConstraint.h:13
 RooHistConstraint.h:14
 RooHistConstraint.h:15
 RooHistConstraint.h:16
 RooHistConstraint.h:17
 RooHistConstraint.h:18
 RooHistConstraint.h:19
 RooHistConstraint.h:20
 RooHistConstraint.h:21
 RooHistConstraint.h:22
 RooHistConstraint.h:23
 RooHistConstraint.h:24
 RooHistConstraint.h:25
 RooHistConstraint.h:26
 RooHistConstraint.h:27
 RooHistConstraint.h:28
 RooHistConstraint.h:29
 RooHistConstraint.h:30
 RooHistConstraint.h:31
 RooHistConstraint.h:32
 RooHistConstraint.h:33
 RooHistConstraint.h:34
 RooHistConstraint.h:35
 RooHistConstraint.h:36
 RooHistConstraint.h:37
 RooHistConstraint.h:38
 RooHistConstraint.h:39
 RooHistConstraint.h:40
 RooHistConstraint.h:41
 RooHistConstraint.h:42
 RooHistConstraint.h:43
 RooHistConstraint.h:44
 RooHistConstraint.h:45