Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
HistFactorySimultaneous.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id$
5 * Authors: *
6 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8 * *
9 * Copyright (c) 2000-2005, Regents of the University of California *
10 * and Stanford University. All rights reserved. *
11 * *
12 * Redistribution and use in source and binary forms, *
13 * with or without modification, are permitted according to the terms *
14 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15 *****************************************************************************/
16#ifndef HISTFACTORY_SIMULTANEOUS
17#define HISTFACTORY_SIMULTANEOUS
18
19#include "RooSimultaneous.h"
20
21#include <string>
22#include <map>
23
24namespace RooStats{
25namespace HistFactory{
26
27
29public:
30
31 // Constructors, assignment etc
32 inline HistFactorySimultaneous() : RooSimultaneous() {} //_plotCoefNormRange(0) { }
33 HistFactorySimultaneous(const char *name, const char *title, RooAbsCategoryLValue& indexCat) ;
34 HistFactorySimultaneous(const char *name, const char *title, std::map<std::string,RooAbsPdf*> pdfMap, RooAbsCategoryLValue& inIndexCat) ;
35 HistFactorySimultaneous(const char *name, const char *title, const RooArgList& pdfList, RooAbsCategoryLValue& indexCat) ;
36 HistFactorySimultaneous(const HistFactorySimultaneous& other, const char* name=0);
37 HistFactorySimultaneous(const RooSimultaneous& other, const char* name=0);
39
40 virtual TObject* clone(const char* newname) const { return new HistFactorySimultaneous(*this,newname) ; }
41
42 virtual RooAbsReal* createNLL(RooAbsData& data, const RooLinkedList& cmdList);
43
44 virtual RooAbsReal* createNLL(RooAbsData& data,
45 const RooCmdArg& arg1 = RooCmdArg::none(), const RooCmdArg& arg2 = RooCmdArg::none(),
46 const RooCmdArg& arg3 = RooCmdArg::none(), const RooCmdArg& arg4 = RooCmdArg::none(),
47 const RooCmdArg& arg5 = RooCmdArg::none(), const RooCmdArg& arg6 = RooCmdArg::none(),
48 const RooCmdArg& arg7 = RooCmdArg::none(), const RooCmdArg& arg8 = RooCmdArg::none());
49
50
51protected:
52
53 ClassDef(RooStats::HistFactory::HistFactorySimultaneous,2) // Simultaneous operator p.d.f, functions like C++ 'switch()' on input p.d.fs operating on index category5A
54};
55
56}
57}
58
59#endif
#define ClassDef(name, id)
Definition Rtypes.h:325
char name[80]
Definition TGX11.cxx:110
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition RooAbsData.h:49
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition RooAbsReal.h:61
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition RooArgList.h:21
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
Definition RooCmdArg.h:27
static const RooCmdArg & none()
Return reference to null argument.
Definition RooCmdArg.cxx:52
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.
const RooAbsCategoryLValue & indexCat() const
RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.
virtual RooAbsReal * createNLL(RooAbsData &data, const RooLinkedList &cmdList)
Construct representation of -log(L) of PDFwith given dataset.
virtual TObject * clone(const char *newname) const
Mother of all ROOT objects.
Definition TObject.h:37
Namespace for the RooStats classes.
Definition Asimov.h:19