Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User

RooFit Toolkit for Data Modeling
#include "RooEffProd.hh"

RooEffProd


class description - source file - inheritance tree (.pdf)

class RooEffProd : public RooAbsPdf

Inheritance Chart:
TObject
<-
TNamed
RooPrintable
<-
RooAbsArg
<-
RooAbsReal
<-
RooAbsPdf
<-
RooEffProd

    protected:
const RooAbsReal* eff() const virtual Double_t evaluate() const const RooAbsPdf* pdf() const public:
RooEffProd() RooEffProd(const char* name, const char* title, RooAbsPdf& pdf, RooAbsReal& efficiency) RooEffProd(const RooEffProd& other, const char* name = "0") virtual ~RooEffProd() static TClass* Class() virtual TObject* clone(const char* newname) const virtual RooAbsGenContext* genContext(const RooArgSet& vars, const RooDataSet* prototype, const RooArgSet* auxProto, Bool_t verbose) const virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
RooRealProxy _pdf pdf RooRealProxy _eff efficiency

Class Description

 The class RooEffProd implements the product of a PDF with an efficiency function.
 The normalization integral of the product is calculated numerically, but the
 event generation is handled by a specialized generator context that implements
 the event generation in a more efficient for cases where the PDF has an internal
 generator that is smarter than accept reject.

RooEffProd(const char *name, const char *title, RooAbsPdf& pdf, RooAbsReal& eff) : RooAbsPdf(name,title), _pdf("pdf","pre-efficiency pdf", this,pdf), _eff("eff","efficiency function",this,eff)

RooEffProd(const RooEffProd& other, const char* name) : RooAbsPdf(other, name), _pdf("pdf",this,other._pdf), _eff("acc",this,other._eff)

~RooEffProd()

Double_t evaluate() const

RooAbsGenContext* genContext(const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet* auxProto, Bool_t verbose) const



Inline Functions


               RooEffProd RooEffProd(const RooEffProd& other, const char* name = "0")
                 TObject* clone(const char* newname) const
         const RooAbsPdf* pdf() const
        const RooAbsReal* eff() const
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
Last CVS Update: v 1.2 2005/06/23 07:37:30 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby

SourceForge.net Logo