Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 <RooListProxy.h>
12
14public:
16 RooHistConstraint(const char *name, const char *title, const RooArgSet& phfSet, int threshold=1000000);
17 RooHistConstraint(const RooHistConstraint& other, const char* name=nullptr) ;
18 TObject* clone(const char* newname) const override { return new RooHistConstraint(*this,newname); }
19
20 double getLogVal(const RooArgSet* set=nullptr) const override ;
21
22 /// It makes only sense to use the RooHistConstraint when normalized over the
23 /// set of all gammas, in which case it is self-normalized because the used
24 /// TMath::Poisson function is normalized.
25 bool selfNormalized() const override { return true; }
26
27protected:
28
31 bool _relParam ;
32
33 double evaluate() const override ;
34
35private:
36
38};
39
40#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
Abstract interface for all probability density functions.
Definition RooAbsPdf.h:40
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition RooArgSet.h:55
The RooHistConstraint implements constraint terms for a binned PDF with statistical uncertainties.
TObject * clone(const char *newname) const override
double getLogVal(const RooArgSet *set=nullptr) const override
Return the log of the current value with given normalization An error message is printed if the argum...
bool selfNormalized() const override
It makes only sense to use the RooHistConstraint when normalized over the set of all gammas,...
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Mother of all ROOT objects.
Definition TObject.h:41