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 
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
RooAbsReal.h
RooHistConstraint::~RooHistConstraint
virtual ~RooHistConstraint()
Definition: RooHistConstraint.h:25
RooHistConstraint::getLogVal
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...
Definition: RooHistConstraint.cxx:201
bool
RooHistConstraint::evaluate
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition: RooHistConstraint.cxx:180
RooHistConstraint::_relParam
Bool_t _relParam
Definition: RooHistConstraint.h:33
RooAbsPdf.h
RooHistConstraint::_gamma
RooListProxy _gamma
Definition: RooHistConstraint.h:31
RooRealProxy.h
RooListProxy
Definition: RooListProxy.h:24
RooHistConstraint
Definition: RooHistConstraint.h:19
RooCategoryProxy.h
RooListProxy.h
Double_t
double Double_t
Definition: RtypesCore.h:59
RooAbsCategory.h
RooParamHistFunc
Definition: RooParamHistFunc.h:20
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
name
char name[80]
Definition: TGX11.cxx:110
RooHistConstraint::RooHistConstraint
RooHistConstraint()
Definition: RooHistConstraint.h:21
RooHistConstraint::clone
virtual TObject * clone(const char *newname) const
Definition: RooHistConstraint.h:24
RooAbsPdf
Definition: RooAbsPdf.h:40
RooHistConstraint::_nominal
RooListProxy _nominal
Definition: RooHistConstraint.h:32
RooArgSet
Definition: RooArgSet.h:28
int