Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooBukinPdf.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitModels *
4 * File: $Id: RooBukinPdf.h,v 1.5 2007/07/12 20:30:49 wouter Exp $
5 * Authors: *
6 * RW, Ruddick William UC Colorado wor@slac.stanford.edu *
7 * *
8 * Copyright (c) 2000-2005, Regents of the University of California *
9 * and Stanford University. All rights reserved. *
10 * *
11 * Redistribution and use in source and binary forms, *
12 * with or without modification, are permitted according to the terms *
13 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
14 *****************************************************************************/
15
16
17// -- CLASS DESCRIPTION [PDF] --
18// RooBukinPdf implements the NovosibirskA function
19
20#ifndef ROO_BUKINPDF
21#define ROO_BUKINPDF
22
23#include "RooAbsPdf.h"
24#include "RooRealProxy.h"
25
26class RooRealVar;
27class RooAbsReal;
28
29class RooBukinPdf : public RooAbsPdf {
30public:
31
33 RooBukinPdf(const char *name, const char *title,
34 RooAbsReal& _x, RooAbsReal& _Xp,
35 RooAbsReal& _sigp, RooAbsReal& _xi,
36 RooAbsReal& _rho1, RooAbsReal& _rho2);
37
38 RooBukinPdf(const RooBukinPdf& other,const char* name=nullptr) ;
39
40 TObject* clone(const char* newname) const override { return new RooBukinPdf(*this,newname); }
41
42protected:
49 double evaluate() const override;
50 void doEval(RooFit::EvalContext &) const override;
51 inline bool canComputeBatchWithCuda() const override { return true; }
52
53private:
54
55 ClassDefOverride(RooBukinPdf,2) // Variation of Novosibirsk PDF
56};
57
58#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
Abstract interface for all probability density functions.
Definition RooAbsPdf.h:40
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition RooAbsReal.h:59
The RooBukinPdf implements the NovosibirskA function.
Definition RooBukinPdf.h:29
bool canComputeBatchWithCuda() const override
Definition RooBukinPdf.h:51
RooRealProxy rho2
Definition RooBukinPdf.h:48
RooRealProxy sigp
Definition RooBukinPdf.h:45
void doEval(RooFit::EvalContext &) const override
Compute multiple values of Bukin distribution.
RooRealProxy rho1
Definition RooBukinPdf.h:47
RooRealProxy x
Definition RooBukinPdf.h:43
RooRealProxy xi
Definition RooBukinPdf.h:46
double evaluate() const override
Implementation.
TObject * clone(const char *newname) const override
Definition RooBukinPdf.h:40
RooRealProxy Xp
Definition RooBukinPdf.h:44
Variable that can be changed from the outside.
Definition RooRealVar.h:37
Mother of all ROOT objects.
Definition TObject.h:41