Logo ROOT   master
Reference Guide
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:
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 
34 
35  Double_t evaluate() const ;
36 
37 private:
38 
40 };
41 
42 #endif
RooListProxy _nominal
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:28
The RooHistConstraint implements constraint terms for a binned PDF with statistical uncertainties...
virtual ~RooHistConstraint()
Double_t getLogVal(const RooArgSet *set=0) const
Return the log of the current value with given normalization An error message is printed if the argum...
#define ClassDef(name, id)
Definition: Rtypes.h:326
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
A histogram function that assigns scale parameters to every bin.
RooListProxy is the concrete proxy for RooArgList objects.
Definition: RooListProxy.h:25
virtual TObject * clone(const char *newname) const
Mother of all ROOT objects.
Definition: TObject.h:37
RooAbsPdf, the base class of all PDFs
Definition: RooAbsPdf.h:40
char name[80]
Definition: TGX11.cxx:109