Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooNumGenFactory.h
Go to the documentation of this file.
1/// \cond ROOFIT_INTERNAL
2
3/*****************************************************************************
4 * Project: RooFit *
5 * Package: RooFitCore *
6 * File: $Id$
7 * Authors: *
8 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
9 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
10 * *
11 * Copyright (c) 2000-2005, Regents of the University of California *
12 * and Stanford University. All rights reserved. *
13 * *
14 * Redistribution and use in source and binary forms, *
15 * with or without modification, are permitted according to the terms *
16 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
17 *****************************************************************************/
18#ifndef ROO_NUM_GEN_FACTORY
19#define ROO_NUM_GEN_FACTORY
20
21#include <map>
22#include <string>
23#include "TObject.h"
24#include "RooLinkedList.h"
25#include "RooAbsNumGenerator.h"
26class RooNumGenConfig ;
27class RooAbsReal ;
28
29class RooNumGenFactory ;
31
32class RooNumGenFactory : public TObject {
33public:
34
35 static RooNumGenFactory& instance() ;
36 ~RooNumGenFactory() override;
37
39 const RooAbsNumGenerator* getProtoSampler(const char* name) ;
40
42 const RooNumGenConfig& config, bool verbose=false, RooAbsReal* maxFuncVal=nullptr) ;
43
44
45protected:
46
47 friend class RooNumGenConfig ;
48
49 std::map<std::string,RooAbsNumGenerator*> _map ;
50
53};
54
55#endif
56
57/// \endcond
static Roo_reg_AGKInteg1D instance
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
char name[80]
Definition TGX11.cxx:110
const char * proto
Definition civetweb.c:17535
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition RooAbsReal.h:59
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition RooArgSet.h:24
Holds the configuration parameters of the various numeric integrators used by RooRealIntegral.
Mother of all ROOT objects.
Definition TObject.h:41