Logo ROOT  
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
17class RooParamHistFunc ;
18
20public:
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
29protected:
30
34
35 Double_t evaluate() const ;
36
37private:
38
40};
41
42#endif
int Int_t
Definition: RtypesCore.h:45
bool Bool_t
Definition: RtypesCore.h:63
double Double_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:325
char name[80]
Definition: TGX11.cxx:110
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:35
The RooHistConstraint implements constraint terms for a binned PDF with statistical uncertainties.
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...
virtual ~RooHistConstraint()
virtual TObject * clone(const char *newname) const
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
RooListProxy _nominal
RooListProxy is the concrete proxy for RooArgList objects.
Definition: RooListProxy.h:24
A histogram function that assigns scale parameters to every bin.
Mother of all ROOT objects.
Definition: TObject.h:37