Logo ROOT   6.12/07
Reference Guide
RooParamHistFunc.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * *
4  * This code was autogenerated by RooClassFactory *
5  *****************************************************************************/
6 
7 #ifndef ROO_PARAM_HIST_FUNC
8 #define ROO_PARAM_HIST_FUNC
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 #include "RooSetProxy.h"
17 #include "RooDataHist.h"
18 
19 class RooParamHistFunc : public RooAbsReal {
20 public:
22  RooParamHistFunc(const char *name, const char *title, RooDataHist& dh, Bool_t paramRelative=kTRUE);
23  RooParamHistFunc(const char *name, const char *title, const RooAbsArg& x, RooDataHist& dh, Bool_t paramRelative=kTRUE);
24  RooParamHistFunc(const char *name, const char *title, RooDataHist& dh, const RooParamHistFunc& paramSource, Bool_t paramRelative=kTRUE) ;
25  RooParamHistFunc(const RooParamHistFunc& other, const char* name=0) ;
26  virtual TObject* clone(const char* newname) const { return new RooParamHistFunc(*this,newname); }
27  inline virtual ~RooParamHistFunc() { }
28 
29  virtual std::list<Double_t>* binBoundaries(RooAbsRealLValue& /*obs*/, Double_t /*xlo*/, Double_t /*xhi*/) const ;
30  virtual std::list<Double_t>* plotSamplingHint(RooAbsRealLValue& obs, Double_t xlo, Double_t xhi) const ;
31  virtual Bool_t isBinnedDistribution(const RooArgSet&) const { return kTRUE ; }
32 
33 
34  virtual Bool_t forceAnalyticalInt(const RooAbsArg&) const { return kTRUE ; }
35  Int_t getAnalyticalIntegralWN(RooArgSet& allVars, RooArgSet& analVars, const RooArgSet* normSet,const char* rangeName=0) const ;
36  Double_t analyticalIntegralWN(Int_t code, const RooArgSet* normSet, const char* rangeName=0) const ;
37 
38  Double_t getActual(Int_t ibin) ;
39  void setActual(Int_t ibin, Double_t newVal) ;
40  Double_t getNominal(Int_t ibin) const ;
41  Double_t getNominalError(Int_t ibin) const ;
42 
43  const RooArgList& paramList() const { return _p ; }
44 
45  protected:
46 
47  friend class RooHistConstraint ;
48 
53 
54  Double_t evaluate() const ;
55 
56 private:
57 
58  ClassDef(RooParamHistFunc,1) // Your description goes here...
59 };
60 
61 #endif
Double_t getActual(Int_t ibin)
Double_t getNominalError(Int_t ibin) const
virtual Bool_t isBinnedDistribution(const RooArgSet &) const
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
Double_t getNominal(Int_t ibin) const
Double_t evaluate() const
virtual std::list< Double_t > * plotSamplingHint(RooAbsRealLValue &obs, Double_t xlo, Double_t xhi) const
Return sampling hint for making curves of (projections) of this function as the recursive division st...
RooDataSet is a container class to hold N-dimensional binned data.
Definition: RooDataHist.h:40
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:320
virtual TObject * clone(const char *newname) const
virtual ~RooParamHistFunc()
virtual Bool_t forceAnalyticalInt(const RooAbsArg &) const
const RooArgList & paramList() const
RooListProxy is the concrete proxy for RooArgList objects.
Definition: RooListProxy.h:25
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
virtual std::list< Double_t > * binBoundaries(RooAbsRealLValue &, Double_t, Double_t) const
Return sampling hint for making curves of (projections) of this function as the recursive division st...
Double_t analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
Implement analytical integrations by doing appropriate weighting from component integrals functions t...
Mother of all ROOT objects.
Definition: TObject.h:37
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
void setActual(Int_t ibin, Double_t newVal)
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
Advertise that all integrals can be handled internally.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Definition: RooAbsArg.h:66
const Bool_t kTRUE
Definition: RtypesCore.h:87
char name[80]
Definition: TGX11.cxx:109