Logo ROOT   6.12/07
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 
31  Double_t logSum(Int_t i) const ;
32 
37 
38  Double_t evaluate() const ;
39 
40 private:
41 
42  ClassDef(RooHistConstraint,1) // Your description goes here...
43 };
44 
45 #endif
RooListProxy _nominal
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
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...
RooListProxy _nominalErr
#define ClassDef(name, id)
Definition: Rtypes.h:320
Double_t evaluate() const
Double_t logSum(Int_t i) const
RooListProxy is the concrete proxy for RooArgList objects.
Definition: RooListProxy.h:25
virtual TObject * clone(const char *newname) const
double Double_t
Definition: RtypesCore.h:55
Mother of all ROOT objects.
Definition: TObject.h:37
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
char name[80]
Definition: TGX11.cxx:109