Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooProdPdf.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id: RooProdPdf.h,v 1.44 2007/07/16 21:04:28 wouter Exp $
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 ROO_PROD_PDF
17#define ROO_PROD_PDF
18
19#include "RooAbsPdf.h"
20#include "RooListProxy.h"
21#include "RooLinkedList.h"
22#include "RooObjCacheManager.h"
23#include "RooCmdArg.h"
24
25#include <vector>
26#include <list>
27#include <string>
28
29namespace RooFit {
30namespace Detail {
31class RooFixedProdPdf;
32}
33}
34
35class RooProdPdf : public RooAbsPdf {
36public:
37
38 RooProdPdf() ;
39 RooProdPdf(const char *name, const char *title,
40 RooAbsPdf& pdf1, RooAbsPdf& pdf2, double cutOff=0.0) ;
41 RooProdPdf(const char* name, const char* title, const RooArgList& pdfList, double cutOff=0.0) ;
42 RooProdPdf(const char* name, const char* title, const RooArgSet& fullPdfSet, const RooLinkedList& cmdArgList) ;
43
44 RooProdPdf(const char* name, const char* title, const RooArgSet& fullPdfSet,
45 const RooCmdArg& arg1 , const RooCmdArg& arg2={},
46 const RooCmdArg& arg3={}, const RooCmdArg& arg4={},
47 const RooCmdArg& arg5={}, const RooCmdArg& arg6={},
48 const RooCmdArg& arg7={}, const RooCmdArg& arg8={}) ;
49
50 RooProdPdf(const char* name, const char* title,
51 const RooCmdArg& arg1, const RooCmdArg& arg2={},
52 const RooCmdArg& arg3={}, const RooCmdArg& arg4={},
53 const RooCmdArg& arg5={}, const RooCmdArg& arg6={},
54 const RooCmdArg& arg7={}, const RooCmdArg& arg8={}) ;
55
56 RooProdPdf(const RooProdPdf& other, const char* name=nullptr) ;
57 TObject* clone(const char* newname=nullptr) const override { return new RooProdPdf(*this,newname) ; }
58 ~RooProdPdf() override ;
59
60 bool forceAnalyticalInt(const RooAbsArg& dep) const override ;
61 Int_t getAnalyticalIntegralWN(RooArgSet& allVars, RooArgSet& numVars, const RooArgSet* normSet, const char* rangeName=nullptr) const override ;
62 double analyticalIntegralWN(Int_t code, const RooArgSet* normSet, const char* rangeName=nullptr) const override ;
63 bool selfNormalized() const override { return _selfNorm ; }
64
65 ExtendMode extendMode() const override ;
66 double expectedEvents(const RooArgSet* nset) const override ;
67 std::unique_ptr<RooAbsReal> createExpectedEventsFunc(const RooArgSet* nset) const override;
68
69 const RooArgList& pdfList() const { return _pdfList ; }
70
71 void addPdfs(RooAbsCollection const& pdfs);
72 void removePdfs(RooAbsCollection const& pdfs);
73
74 Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, bool staticInitOK=true) const override;
75 void initGenerator(Int_t code) override ;
76 void generateEvent(Int_t code) override;
77 bool isDirectGenSafe(const RooAbsArg& arg) const override ;
78
79 // Constraint management
80 std::unique_ptr<RooArgSet> getConstraints(const RooArgSet &observables, RooArgSet const &constrainedParams,
81 RooArgSet &pdfParams) const override;
82
83 std::list<double>* plotSamplingHint(RooAbsRealLValue& obs, double xlo, double xhi) const override ;
84 std::list<double>* binBoundaries(RooAbsRealLValue& /*obs*/, double /*xlo*/, double /*xhi*/) const override ;
85 bool isBinnedDistribution(const RooArgSet& obs) const override ;
86
87 void printMetaArgs(std::ostream& os) const override ;
88
89 void selectNormalizationRange(const char* rangeName=nullptr, bool force=false) override ;
90 void fixRefRange(const char* rangeName) ;
91
94
95
96 bool redirectServersHook(const RooAbsCollection& /*newServerList*/, bool /*mustReplaceAll*/, bool /*nameChange*/, bool /*isRecursive*/) override ;
97
98 RooArgSet* getConnectedParameters(const RooArgSet& observables) const ;
99
100 RooArgSet* findPdfNSet(RooAbsPdf const& pdf) const ;
101
102 std::unique_ptr<RooAbsArg> compileForNormSet(RooArgSet const &normSet, RooFit::Detail::CompileContext & ctx) const override;
103
104 // The cache object. Internal, do not use.
106 public:
108 // Payload
113 std::vector<std::unique_ptr<RooArgSet>> _normList;
115 std::unique_ptr<RooAbsReal> _rearrangedNum{};
116 std::unique_ptr<RooAbsReal> _rearrangedDen{};
117 // Cache management functions
119 void printCompactTreeHook(std::ostream&, const char *, Int_t, Int_t) override ;
120 void writeToStream(std::ostream& os) const ;
121 } ;
122
123private:
124
125 std::unique_ptr<RooArgSet> fillNormSetForServer(RooArgSet const& normSet, RooAbsArg const& server) const;
126
127 double evaluate() const override ;
128
129 std::unique_ptr<RooAbsReal> makeCondPdfRatioCorr(RooAbsReal& term, const RooArgSet& termNset, const RooArgSet& termImpSet, const char* normRange, const char* refRange) const ;
130
132
133 struct Factorized {
134 ~Factorized();
135
136 RooArgSet *termNormDeps(int i) const { return static_cast<RooArgSet*>(norms.At(i)); }
137 RooArgSet *termIntDeps(int i) const { return static_cast<RooArgSet*>(ints.At(i)); }
138 RooArgSet *termImpDeps(int i) const { return static_cast<RooArgSet*>(imps.At(i)); }
139 RooArgSet *termCrossDeps(int i) const { return static_cast<RooArgSet*>(cross.At(i)); }
140
146 };
147
149 std::string makeRGPPName(const char* pfx, const RooArgSet& term, const RooArgSet& iset, const RooArgSet& nset, const char* isetRangeName) const ;
150 void groupProductTerms(std::list<std::vector<RooArgSet*>>& groupedTerms, RooArgSet& outerIntDeps, Factorized const &factorized) const;
151
152
153
154 Int_t getPartIntList(const RooArgSet* nset, const RooArgSet* iset, const char* isetRangeName=nullptr) const ;
155
157 bool isOwned = false;
158 RooAbsReal* x0 = nullptr;
159 std::unique_ptr<RooAbsReal> x1;
160 std::unique_ptr<RooAbsReal> x2;
161 };
162
164 const RooArgSet* term,const RooArgSet& termNSet, const RooArgSet& termISet,
165 bool forceWrap=false) const ;
166
167
168 CacheMode canNodeBeCached() const override { return RooAbsArg::NotAdvised ; } ;
169 void setCacheAndTrackHints(RooArgSet&) override ;
170
171 std::unique_ptr<CacheElem> createCacheElem(const RooArgSet* nset, const RooArgSet* iset, const char* isetRangeName=nullptr) const;
172
173 mutable RooObjCacheManager _cacheMgr ; ///<! The cache manager
174
175 CacheElem* getCacheElem(RooArgSet const* nset) const ;
176 void rearrangeProduct(CacheElem&) const;
177 std::unique_ptr<RooAbsReal> specializeIntegral(RooAbsReal& orig, const char* targetRangeName) const ;
178 std::unique_ptr<RooAbsReal> specializeRatio(RooFormulaVar& input, const char* targetRangeName) const ;
179 double calculate(const RooProdPdf::CacheElem &cache, bool verbose = false) const;
180
181 friend class RooProdGenContext ;
183 RooAbsGenContext* genContext(const RooArgSet &vars, const RooDataSet *prototype=nullptr,
184 const RooArgSet *auxProto=nullptr, bool verbose= false) const override ;
185
186
187 mutable std::vector<std::vector<int>> _genCode; ///<! Registry of composite direct generator codes
188
189 double _cutOff = 0.0; ///< Cutoff parameter for running product
190 RooListProxy _pdfList ; ///< List of PDF components
191 std::vector<std::unique_ptr<RooArgSet>> _pdfNSetList ; ///< List of PDF component normalization sets
192 Int_t _extendedIndex = -1; ///< Index of extended PDF (if any)
193
194 void useDefaultGen(bool flag=true) { _useDefaultGen = flag ; }
195 bool _useDefaultGen = false; ///< Use default or distributed event generator
196
197 mutable TNamed* _refRangeName = nullptr; ///< Reference range name for interpretation of conditional products
198
199 bool _selfNorm = true; ///< Is self-normalized
200 RooArgSet _defNormSet ; ///< Default normalization set
201
202 ClassDefOverride(RooProdPdf,6) // PDF representing a product of PDFs
203};
204
205namespace RooFit::Detail {
206
207/// A RooProdPdf with a fixed normalization set can be replaced by this class.
208/// Its purpose is to provide the right client-server interface for the
209/// evaluation of RooProdPdf cache elements that were created for a given
210/// normalization set.
212public:
213 RooFixedProdPdf(std::unique_ptr<RooProdPdf> &&prodPdf, RooArgSet const &normSet);
214 RooFixedProdPdf(const RooFixedProdPdf &other, const char *name = nullptr);
215
216 inline TObject *clone(const char *newname) const override { return new RooFixedProdPdf(*this, newname); }
217
218 inline bool selfNormalized() const override { return true; }
219
220 inline bool canComputeBatchWithCuda() const override { return true; }
221
222 void doEval(RooFit::EvalContext &ctx) const override;
223
224 inline ExtendMode extendMode() const override { return _prodPdf->extendMode(); }
225 inline double expectedEvents(const RooArgSet * /*nset*/) const override
226 {
227 return _prodPdf->expectedEvents(&_normSet);
228 }
229 inline std::unique_ptr<RooAbsReal> createExpectedEventsFunc(const RooArgSet * /*nset*/) const override
230 {
231 return _prodPdf->createExpectedEventsFunc(&_normSet);
232 }
233
234 // Analytical Integration handling
235 inline bool forceAnalyticalInt(const RooAbsArg &dep) const override { return _prodPdf->forceAnalyticalInt(dep); }
237 const char *rangeName = nullptr) const override
238 {
239 return _prodPdf->getAnalyticalIntegralWN(allVars, analVars, normSet, rangeName);
240 }
241 inline Int_t
242 getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &numVars, const char *rangeName = nullptr) const override
243 {
244 return _prodPdf->getAnalyticalIntegral(allVars, numVars, rangeName);
245 }
246 inline double analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName) const override
247 {
248 return _prodPdf->analyticalIntegralWN(code, normSet, rangeName);
249 }
250 inline double analyticalIntegral(Int_t code, const char *rangeName = nullptr) const override
251 {
252 return _prodPdf->analyticalIntegral(code, rangeName);
253 }
254
255 bool isRearranged() const { return _isRearranged; }
256
258 {
259 return _isRearranged ? static_cast<RooAbsReal const *>(_servers[0]) : nullptr;
260 }
262 {
263 return _isRearranged ? static_cast<RooAbsReal const *>(_servers[1]) : nullptr;
264 }
265
266 RooArgSet const *partList() const { return !_isRearranged ? static_cast<RooArgSet const *>(&_servers) : nullptr; }
267
268private:
269 double evaluate() const override;
270
273 std::unique_ptr<RooProdPdf> _prodPdf;
274 bool _isRearranged = false;
275
277};
278
279} // namespace RooFit::Detail
280
281#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:348
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
char name[80]
Definition TGX11.cxx:148
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Definition RooAbsArg.h:76
Abstract base class for objects to be stored in RooAbsCache cache manager objects.
Abstract container object that can hold multiple RooAbsArg objects.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual RooAbsArg * addClone(const RooAbsArg &var, bool silent=false)
Add a clone of the specified argument to list.
Abstract base class for generator contexts of RooAbsPdf objects.
Abstract interface for all probability density functions.
Definition RooAbsPdf.h:32
const char * normRange() const
Definition RooAbsPdf.h:246
Abstract base class for objects that represent a real value that may appear on the left hand side of ...
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition RooAbsReal.h:63
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition RooArgList.h:22
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition RooArgSet.h:24
Named container for two doubles, two integers two object points and three string pointers that can be...
Definition RooCmdArg.h:26
Container class to hold unbinned data.
Definition RooDataSet.h:32
A RooProdPdf with a fixed normalization set can be replaced by this class.
Definition RooProdPdf.h:211
double expectedEvents(const RooArgSet *) const override
Return expected number of events to be used in calculation of extended likelihood.
Definition RooProdPdf.h:225
RooFixedProdPdf(std::unique_ptr< RooProdPdf > &&prodPdf, RooArgSet const &normSet)
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &numVars, const char *rangeName=nullptr) const override
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
Definition RooProdPdf.h:242
RooArgSet const * partList() const
Definition RooProdPdf.h:266
bool selfNormalized() const override
Shows if a PDF is self-normalized, which means that no attempt is made to add a normalization term.
Definition RooProdPdf.h:218
double analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName) const override
Analytical integral with normalization (see RooAbsReal::analyticalIntegralWN() for further informatio...
Definition RooProdPdf.h:246
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=nullptr) const override
Variant of getAnalyticalIntegral that is also passed the normalization set that should be applied to ...
Definition RooProdPdf.h:236
void doEval(RooFit::EvalContext &ctx) const override
Evaluate product of PDFs in batch mode.
std::unique_ptr< RooProdPdf > _prodPdf
Definition RooProdPdf.h:273
bool canComputeBatchWithCuda() const override
Definition RooProdPdf.h:220
RooAbsReal const * rearrangedDen() const
Definition RooProdPdf.h:261
TObject * clone(const char *newname) const override
Definition RooProdPdf.h:216
bool forceAnalyticalInt(const RooAbsArg &dep) const override
Definition RooProdPdf.h:235
std::unique_ptr< RooAbsReal > createExpectedEventsFunc(const RooArgSet *) const override
Returns an object that represents the expected number of events for a given normalization set,...
Definition RooProdPdf.h:229
RooAbsReal const * rearrangedNum() const
Definition RooProdPdf.h:257
ExtendMode extendMode() const override
Returns ability of PDF to provide extended likelihood terms.
Definition RooProdPdf.h:224
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
Definition RooProdPdf.h:250
A RooFormulaVar is a generic implementation of a real-valued object, which takes a RooArgList of serv...
Collection class for internal use, storing a collection of RooAbsArg pointers in a doubly linked list...
TObject * At(int index) const
Return object stored in sequential position given by index.
Implementation of a RooCacheManager<RooAbsCacheElement> that specializes in the storage of cache elem...
Efficient implementation of the generator context specific for RooProdPdf PDFs.
RooArgList containedArgs(Action) override
Return RooAbsArg components contained in the cache.
std::unique_ptr< RooAbsReal > _rearrangedNum
Definition RooProdPdf.h:115
void printCompactTreeHook(std::ostream &, const char *, Int_t, Int_t) override
Hook function to print cache contents in tree printing of RooProdPdf.
std::vector< std::unique_ptr< RooArgSet > > _normList
Definition RooProdPdf.h:113
std::unique_ptr< RooAbsReal > _rearrangedDen
Definition RooProdPdf.h:116
void writeToStream(std::ostream &os) const
Efficient implementation of a product of PDFs of the form.
Definition RooProdPdf.h:35
std::unique_ptr< RooArgSet > getConstraints(const RooArgSet &observables, RooArgSet const &constrainedParams, RooArgSet &pdfParams) const override
Return all parameter constraint p.d.f.s on parameters listed in constrainedParams.
void setCacheAndTrackHints(RooArgSet &) override
Label OK'ed components of a RooProdPdf with cache-and-track, and label all RooProdPdf descendants wit...
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, bool staticInitOK=true) const override
Query internal generation capabilities of component p.d.f.s and aggregate capabilities into master co...
void rearrangeProduct(CacheElem &) const
bool selfNormalized() const override
Shows if a PDF is self-normalized, which means that no attempt is made to add a normalization term.
Definition RooProdPdf.h:63
double analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=nullptr) const override
Return analytical integral defined by given scenario code.
~RooProdPdf() override
Destructor.
Int_t _extendedIndex
Index of extended PDF (if any)
Definition RooProdPdf.h:192
std::unique_ptr< RooAbsReal > specializeRatio(RooFormulaVar &input, const char *targetRangeName) const
RooProdPdf()
Default constructor.
void removePdfs(RooAbsCollection const &pdfs)
Remove some PDFs from the factors of this RooProdPdf.
bool _useDefaultGen
Use default or distributed event generator.
Definition RooProdPdf.h:195
std::vector< std::unique_ptr< RooArgSet > > _pdfNSetList
List of PDF component normalization sets.
Definition RooProdPdf.h:191
std::unique_ptr< RooArgSet > fillNormSetForServer(RooArgSet const &normSet, RooAbsArg const &server) const
std::unique_ptr< RooAbsReal > specializeIntegral(RooAbsReal &orig, const char *targetRangeName) const
void factorizeProduct(const RooArgSet &normSet, const RooArgSet &intSet, Factorized &factorized) const
Factorize product in irreducible terms for given choice of integration/normalization.
void useDefaultGen(bool flag=true)
Definition RooProdPdf.h:194
bool forceAnalyticalInt(const RooAbsArg &dep) const override
Force RooRealIntegral to offer all observables for internal integration.
std::unique_ptr< RooAbsArg > compileForNormSet(RooArgSet const &normSet, RooFit::Detail::CompileContext &ctx) const override
RooAbsGenContext * genContext(const RooArgSet &vars, const RooDataSet *prototype=nullptr, const RooArgSet *auxProto=nullptr, bool verbose=false) const override
Return generator context optimized for generating events from product p.d.f.s.
void setSelfNormalized(bool flag)
Definition RooProdPdf.h:92
TNamed * _refRangeName
Reference range name for interpretation of conditional products.
Definition RooProdPdf.h:197
void addPdfs(RooAbsCollection const &pdfs)
Add some full PDFs to the factors of this RooProdPdf.
RooListProxy _pdfList
List of PDF components.
Definition RooProdPdf.h:190
Int_t getPartIntList(const RooArgSet *nset, const RooArgSet *iset, const char *isetRangeName=nullptr) const
Return list of (partial) integrals of product terms for integration of p.d.f over observables iset wh...
TObject * clone(const char *newname=nullptr) const override
Definition RooProdPdf.h:57
void printMetaArgs(std::ostream &os) const override
Customized printing of arguments of a RooProdPdf to more intuitively reflect the contents of the prod...
std::list< double > * binBoundaries(RooAbsRealLValue &, double, double) const override
Forward the plot sampling hint from the p.d.f. that defines the observable obs.
CacheMode canNodeBeCached() const override
Definition RooProdPdf.h:168
RooObjCacheManager _cacheMgr
! The cache manager
Definition RooProdPdf.h:173
std::string makeRGPPName(const char *pfx, const RooArgSet &term, const RooArgSet &iset, const RooArgSet &nset, const char *isetRangeName) const
Make an appropriate automatic name for a RooGenProdProj object in getPartIntList()
bool isDirectGenSafe(const RooAbsArg &arg) const override
Forward determination of safety of internal generator code to component p.d.f that would generate the...
ProcessProductTermOutput processProductTerm(const RooArgSet *nset, const RooArgSet *iset, const char *isetRangeName, const RooArgSet *term, const RooArgSet &termNSet, const RooArgSet &termISet, bool forceWrap=false) const
Calculate integrals of factorized product terms over observables iset while normalized to observables...
std::unique_ptr< RooAbsReal > makeCondPdfRatioCorr(RooAbsReal &term, const RooArgSet &termNset, const RooArgSet &termImpSet, const char *normRange, const char *refRange) const
For single normalization ranges.
RooArgSet * findPdfNSet(RooAbsPdf const &pdf) const
Look up user specified normalization set for given input PDF component.
ExtendMode extendMode() const override
If this product contains exactly one extendable p.d.f return the extension abilities of that p....
std::list< double > * plotSamplingHint(RooAbsRealLValue &obs, double xlo, double xhi) const override
Forward the plot sampling hint from the p.d.f. that defines the observable obs.
double expectedEvents(const RooArgSet *nset) const override
Return the expected number of events associated with the extendable input PDF in the product.
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=nullptr) const override
Determine which part (if any) of given integral can be performed analytically.
bool isBinnedDistribution(const RooArgSet &obs) const override
If all components that depend on obs are binned that so is the product.
RooArgSet * getConnectedParameters(const RooArgSet &observables) const
Return all parameter constraint p.d.f.s on parameters listed in constrainedParams.
double calculate(const RooProdPdf::CacheElem &cache, bool verbose=false) const
Calculate running product of pdfs terms, using the supplied normalization set in 'normSetList' for ea...
RooArgSet _defNormSet
Default normalization set.
Definition RooProdPdf.h:200
std::unique_ptr< RooAbsReal > createExpectedEventsFunc(const RooArgSet *nset) const override
Returns an object that represents the expected number of events for a given normalization set,...
CacheElem * getCacheElem(RooArgSet const *nset) const
bool redirectServersHook(const RooAbsCollection &, bool, bool, bool) override
Implement support for node removal.
void groupProductTerms(std::list< std::vector< RooArgSet * > > &groupedTerms, RooArgSet &outerIntDeps, Factorized const &factorized) const
Group product into terms that can be calculated independently.
std::vector< std::vector< int > > _genCode
! Registry of composite direct generator codes
Definition RooProdPdf.h:187
void initGenerator(Int_t code) override
Forward one-time initialization call to component generation initialization methods.
void generateEvent(Int_t code) override
Generate a single event with configuration specified by 'code' Defer internal generation to component...
const RooArgList & pdfList() const
Definition RooProdPdf.h:69
void fixRefRange(const char *rangeName)
std::unique_ptr< CacheElem > createCacheElem(const RooArgSet *nset, const RooArgSet *iset, const char *isetRangeName=nullptr) const
double evaluate() const override
Calculate current value of object.
void initializeFromCmdArgList(const RooArgSet &fullPdfSet, const RooLinkedList &l)
Initialize RooProdPdf configuration from given list of RooCmdArg configuration arguments and set of '...
void selectNormalizationRange(const char *rangeName=nullptr, bool force=false) override
Interface function used by test statistics to freeze choice of range for interpretation of conditiona...
bool _selfNorm
Is self-normalized.
Definition RooProdPdf.h:199
double _cutOff
Cutoff parameter for running product.
Definition RooProdPdf.h:189
void setDefNormSet(const RooArgSet &nset)
Definition RooProdPdf.h:93
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29
Mother of all ROOT objects.
Definition TObject.h:42
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition CodegenImpl.h:72
RooLinkedList cross
Definition RooProdPdf.h:145
RooLinkedList norms
Definition RooProdPdf.h:142
RooArgSet * termNormDeps(int i) const
Definition RooProdPdf.h:136
RooLinkedList terms
Definition RooProdPdf.h:141
RooArgSet * termImpDeps(int i) const
Definition RooProdPdf.h:138
RooArgSet * termIntDeps(int i) const
Definition RooProdPdf.h:137
RooArgSet * termCrossDeps(int i) const
Definition RooProdPdf.h:139
std::unique_ptr< RooAbsReal > x1
Definition RooProdPdf.h:159
std::unique_ptr< RooAbsReal > x2
Definition RooProdPdf.h:160
TLine l
Definition textangle.C:4