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 inline ~RooBukinPdf() override { }
42
43protected:
50 double evaluate() const override;
51 void computeBatch(cudaStream_t*, double* output, size_t nEvents, RooFit::Detail::DataMap const&) const override;
52 inline bool canComputeBatchWithCuda() const override { return true; }
53
54private:
55
56 ClassDefOverride(RooBukinPdf,2) // Variation of Novosibirsk PDF
57};
58
59#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition RooAbsReal.h:62
The RooBukinPdf implements the NovosibirskA function.
Definition RooBukinPdf.h:29
bool canComputeBatchWithCuda() const override
Definition RooBukinPdf.h:52
~RooBukinPdf() override
Definition RooBukinPdf.h:41
RooRealProxy rho2
Definition RooBukinPdf.h:49
RooRealProxy sigp
Definition RooBukinPdf.h:46
RooRealProxy rho1
Definition RooBukinPdf.h:48
RooRealProxy x
Definition RooBukinPdf.h:44
RooRealProxy xi
Definition RooBukinPdf.h:47
void computeBatch(cudaStream_t *, double *output, size_t nEvents, RooFit::Detail::DataMap const &) const override
Compute multiple values of Bukin distribution.
double evaluate() const override
Implementation.
TObject * clone(const char *newname) const override
Definition RooBukinPdf.h:40
RooRealProxy Xp
Definition RooBukinPdf.h:45
RooRealVar represents a variable that can be changed from the outside.
Definition RooRealVar.h:40
Mother of all ROOT objects.
Definition TObject.h:41
static void output()