Logo ROOT  
Reference Guide
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_t evaluate() const;
51 RooSpan<double> evaluateBatch(std::size_t begin, std::size_t batchSize) const;
52
53private:
54
55 ClassDef(RooBukinPdf,2) // Variation of Novosibirsk PDF
56};
57
58#endif
double Double_t
Definition: RtypesCore.h:57
#define ClassDef(name, id)
Definition: Rtypes.h:322
char name[80]
Definition: TGX11.cxx:109
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:60
The RooBukinPdf implements the NovosibirskA function.
Definition: RooBukinPdf.h:29
virtual ~RooBukinPdf()
Definition: RooBukinPdf.h:41
RooRealProxy rho2
Definition: RooBukinPdf.h:49
RooSpan< double > evaluateBatch(std::size_t begin, std::size_t batchSize) const
Evaluate function for a batch of input data points.
RooRealProxy sigp
Definition: RooBukinPdf.h:46
RooRealProxy rho1
Definition: RooBukinPdf.h:48
RooRealProxy x
Definition: RooBukinPdf.h:44
Double_t evaluate() const
Implementation.
Definition: RooBukinPdf.cxx:89
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:35
A simple container to hold a batch of data values.
Definition: RooSpan.h:32
Mother of all ROOT objects.
Definition: TObject.h:37