Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
RooHistConstraint.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * *
4  * This code was autogenerated by RooClassFactory *
5  *****************************************************************************/
6 
7 #ifndef ROOHISTCONSTRAINT
8 #define ROOHISTCONSTRAINT
9 
10 #include "RooAbsPdf.h"
11 #include "RooRealProxy.h"
12 #include "RooCategoryProxy.h"
13 #include "RooAbsReal.h"
14 #include "RooAbsCategory.h"
15 #include "RooListProxy.h"
16 
17 class RooParamHistFunc ;
18 
19 class RooHistConstraint : public RooAbsPdf {
20 public:
21  RooHistConstraint() {} ;
22  RooHistConstraint(const char *name, const char *title, const RooArgSet& phfSet, Int_t threshold=1000000);
23  RooHistConstraint(const RooHistConstraint& other, const char* name=0) ;
24  virtual TObject* clone(const char* newname) const { return new RooHistConstraint(*this,newname); }
25  inline virtual ~RooHistConstraint() { }
26 
27  Double_t getLogVal(const RooArgSet* set=0) const ;
28 
29 protected:
30 
31  RooListProxy _gamma ;
32  RooListProxy _nominal ;
33  Bool_t _relParam ;
34 
35  Double_t evaluate() const ;
36 
37 private:
38 
39  ClassDef(RooHistConstraint, 2)
40 };
41 
42 #endif