![]() |
|
|||
File indexing completed on 2025-07-05 09:08:41
0001 /***************************************************************************** 0002 * Project: RooFit * 0003 * Package: RooFitCore * 0004 * File: $Id$ 0005 * Author: * 0006 * Tristan du Pree, Nikhef, Amsterdam, tdupree@nikhef.nl * 0007 * * 0008 * Copyright (c) 2000-2005, Regents of the University of California * 0009 * and Stanford University. All rights reserved. * 0010 * * 0011 * Redistribution and use in source and binary forms, * 0012 * with or without modification, are permitted according to the terms * 0013 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) * 0014 *****************************************************************************/ 0015 #ifndef ROO_MULTIBINOMIAL 0016 #define ROO_MULTIBINOMIAL 0017 0018 #include "RooAbsReal.h" 0019 #include "RooListProxy.h" 0020 0021 class RooArgList; 0022 0023 0024 class RooMultiBinomial : public RooAbsReal { 0025 public: 0026 // Constructors, assignment etc 0027 inline RooMultiBinomial() { 0028 } 0029 0030 RooMultiBinomial(const char *name, const char *title, const RooArgList& effFuncList, const RooArgList& catList, bool ignoreNonVisible); 0031 RooMultiBinomial(const RooMultiBinomial& other, const char* name=nullptr); 0032 TObject* clone(const char* newname) const override { return new RooMultiBinomial(*this,newname); } 0033 0034 protected: 0035 0036 // Function evaluation 0037 double evaluate() const override ; 0038 0039 private: 0040 0041 RooListProxy _catList ; // Accept/reject categories 0042 RooListProxy _effFuncList ; // Efficiency functions per category 0043 bool _ignoreNonVisible ; // Ignore combination of only rejects (since invisible) 0044 0045 ClassDefOverride(RooMultiBinomial,1) // Simultaneous pdf of N Binomial distributions with associated efficiency functions 0046 }; 0047 0048 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |