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 TObject* clone(const char* newname) const override { return new RooHistConstraint(*this,newname); }
25 inline ~RooHistConstraint() override { }
26
27 double getLogVal(const RooArgSet* set=0) const override ;
28
29protected:
30
33 bool _relParam ;
34
35 double evaluate() const override ;
36
37private:
38
40};
41
42#endif
#define ClassDefOverride(name, id)
Definition: Rtypes.h:339
char name[80]
Definition: TGX11.cxx:110
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:57
The RooHistConstraint implements constraint terms for a binned PDF with statistical uncertainties.
TObject * clone(const char *newname) const override
~RooHistConstraint() override
RooListProxy _nominal
double getLogVal(const RooArgSet *set=0) const override
Return the log of the current value with given normalization An error message is printed if the argum...
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
A histogram function that assigns scale parameters to every bin.
Mother of all ROOT objects.
Definition: TObject.h:37