Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User |
RooEfficiencyclass description - source file - inheritance tree (.pdf) class RooEfficiency : public RooAbsPdf
protected: Data Membersprotected: Class DescriptionRooEfficiency is a PDF helper class to fit efficiencies parameterized by a supplied function F. 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 FunctionsRooEfficiency 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)
|
Page maintained by Wouter Verkerke and David Kirkby |