Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooMultiBinomial.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id$
5 * Author: *
6 * Tristan du Pree, Nikhef, Amsterdam, tdupree@nikhef.nl *
7 * *
8 * Copyright (c) 2000-2005, Regents of the University of California *
9 * and Stanford University. All rights reserved. *
10 * *
11 * Redistribution and use in source and binary forms, *
12 * with or without modification, are permitted according to the terms *
13 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
14 *****************************************************************************/
15#ifndef ROO_MULTIBINOMIAL
16#define ROO_MULTIBINOMIAL
17
18#include "RooAbsReal.h"
19#include "RooListProxy.h"
20
21class RooArgList;
22
23
25 public:
26 // Constructors, assignment etc
28 }
29
30 RooMultiBinomial(const char *name, const char *title, const RooArgList& effFuncList, const RooArgList& catList, bool ignoreNonVisible);
31 RooMultiBinomial(const RooMultiBinomial& other, const char* name=nullptr);
32 TObject* clone(const char* newname) const override { return new RooMultiBinomial(*this,newname); }
33
34 protected:
35
36 // Function evaluation
37 double evaluate() const override ;
38
39 private:
40
41 RooListProxy _catList ; // Accept/reject categories
42 RooListProxy _effFuncList ; // Efficiency functions per category
43 bool _ignoreNonVisible ; // Ignore combination of only rejects (since invisible)
44
45 ClassDefOverride(RooMultiBinomial,1) // Simultaneous pdf of N Binomial distributions with associated efficiency functions
46 };
47
48#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
char name[80]
Definition TGX11.cxx:110
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition RooAbsReal.h:59
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition RooArgList.h:22
RooMultiBinomial is an efficiency function which makes all combinations of efficiencies given as inpu...
RooListProxy _effFuncList
double evaluate() const override
Calculate the raw value of the function which is the effFunc value if cat==1 and it is (1-effFunc) if...
RooListProxy _catList
TObject * clone(const char *newname) const override
Mother of all ROOT objects.
Definition TObject.h:41