library: libRooFit
#include "RooEfficiency.h"

RooEfficiency


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

class RooEfficiency : public RooAbsPdf

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

    protected:
virtual Double_t evaluate() const public:
RooEfficiency() RooEfficiency(const char* name, const char* title, const RooAbsReal& effFunc, const RooAbsCategory& cat, const char* sigCatName) RooEfficiency(const RooEfficiency& other, const char* name = "0") virtual ~RooEfficiency() static TClass* Class() virtual TObject* clone(const char* newname) const virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
RooCategoryProxy _cat Accept/reject categort RooRealProxy _effFunc Efficiency modeling function TString _sigCatName Name of accept state of accept/reject category

Class Description

 Given a dataset with a category C that determines if a given
 event is accepted or rejected for the efficiency to be measured,
 this class evaluates as F if C is 'accept' and as (1-F) if
 C is 'reject'. Values of F below 0 and above 1 are clipped.
 F may have an arbitrary number of dependents and parameters

RooEfficiency(const char *name, const char *title, const RooAbsReal& effFunc, const RooAbsCategory& cat, const char* sigCatName) : RooAbsPdf(name,title), _cat("cat","Signal/Background category",this,(RooAbsCategory&)cat), _effFunc("effFunc","Efficiency modeling function",this,(RooAbsReal&)effFunc), _sigCatName(sigCatName)
 Constructor with title used as formula expression

RooEfficiency(const RooEfficiency& other, const char* name) : RooAbsPdf(other, name), _cat("cat",this,other._cat), _effFunc("effFunc",this,other._effFunc), _sigCatName(other._sigCatName)
 Copy constructor

~RooEfficiency()
 Destructor

Double_t evaluate() const
 Calculate current value of this object



Inline Functions


        RooEfficiency RooEfficiency(const RooEfficiency& other, const char* name = "0")
             TObject* clone(const char* newname) const
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)


Last update: Tue Jun 28 18:12:04 2005
Copyright (c) 2000-2005, Regents of the University of California *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.