Logo ROOT  
Reference Guide
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 
24 namespace RooStats{
25 namespace HistFactory{
26 
27 
29 public:
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 
51 protected:
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
RooCmdArg
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
Definition: RooCmdArg.h:27
RooStats::HistFactory::HistFactorySimultaneous::~HistFactorySimultaneous
~HistFactorySimultaneous()
Destructor.
Definition: HistFactorySimultaneous.cxx:81
RooSimultaneous::indexCat
const RooAbsCategoryLValue & indexCat() const
Definition: RooSimultaneous.h:80
RooAbsData
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition: RooAbsData.h:49
RooSimultaneous.h
RooArgList
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgList.h:21
RooStats::HistFactory::HistFactorySimultaneous::createNLL
virtual RooAbsReal * createNLL(RooAbsData &data, const RooLinkedList &cmdList)
Construct representation of -log(L) of PDFwith given dataset.
Definition: HistFactorySimultaneous.cxx:107
RooAbsReal
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:61
RooStats::HistFactory::HistFactorySimultaneous::HistFactorySimultaneous
HistFactorySimultaneous()
Definition: HistFactorySimultaneous.h:32
RooCmdArg::none
static const RooCmdArg & none()
Return reference to null argument.
Definition: RooCmdArg.cxx:52
RooFit::HistFactory
@ HistFactory
Definition: RooGlobalFunc.h:62
RooLinkedList
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
Definition: RooLinkedList.h:37
RooStats::HistFactory::HistFactorySimultaneous::clone
virtual TObject * clone(const char *newname) const
Definition: HistFactorySimultaneous.h:40
RooStats::HistFactory::HistFactorySimultaneous
RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.
Definition: HistFactorySimultaneous.h:28
RooStats
Namespace for the RooStats classes.
Definition: Asimov.h:19
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
name
char name[80]
Definition: TGX11.cxx:110
RooSimultaneous
RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.
Definition: RooSimultaneous.h:37
RooAbsCategoryLValue
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
Definition: RooAbsCategoryLValue.h:25