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=0) ;
39
40 virtual TObject* clone(const char* newname) const { return new RooBukinPdf(*this,newname); }
41 inline virtual ~RooBukinPdf() { }
42
43protected:
50 double evaluate() const;
51 void computeBatch(cudaStream_t*, double* output, size_t nEvents, RooFit::Detail::DataMap const&) const;
52 inline bool canComputeBatchWithCuda() const { return true; }
53
54private:
55
56 ClassDef(RooBukinPdf,2) // Variation of Novosibirsk PDF
57};
58
59#endif
#define ClassDef(name, id)
Definition Rtypes.h:325
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:64
The RooBukinPdf implements the NovosibirskA function.
Definition RooBukinPdf.h:29
virtual ~RooBukinPdf()
Definition RooBukinPdf.h:41
RooRealProxy rho2
Definition RooBukinPdf.h:49
bool canComputeBatchWithCuda() const
Definition RooBukinPdf.h:52
RooRealProxy sigp
Definition RooBukinPdf.h:46
void computeBatch(cudaStream_t *, double *output, size_t nEvents, RooFit::Detail::DataMap const &) const
Compute multiple values of Bukin distribution.
RooRealProxy rho1
Definition RooBukinPdf.h:48
RooRealProxy x
Definition RooBukinPdf.h:44
double evaluate() const
Implementation.
RooRealProxy xi
Definition RooBukinPdf.h:47
virtual TObject * clone(const char *newname) const
Definition RooBukinPdf.h:40
RooRealProxy Xp
Definition RooBukinPdf.h:45
RooRealVar represents a variable that can be changed from the outside.
Definition RooRealVar.h:39
Mother of all ROOT objects.
Definition TObject.h:41
static void output(int code)
Definition gifencode.c:226