Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
RooHypatia2.h
Go to the documentation of this file.
1// Author: Stephan Hageboeck, CERN, Oct 2019
2// Based on RooIpatia2 by Diego Martinez Santos, Nikhef, Diego.Martinez.Santos@cern.ch
3/*****************************************************************************
4 * Project: RooFit *
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-2019, 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
17#ifndef ROOHYPATIA2
18#define ROOHYPATIA2
19
20#include "RooAbsPdf.h"
21#include "RooRealProxy.h"
22
23class RooAbsReal;
24
25class RooHypatia2 : public RooAbsPdf {
26public:
28 RooHypatia2(const char *name, const char *title,
31 RooHypatia2(const RooHypatia2& other, const char* name=nullptr);
32 TObject* clone(const char* newname) const override { return new RooHypatia2(*this,newname); }
33
34 Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=nullptr) const override;
35 double analyticalIntegral(Int_t code, const char* rangeName=nullptr) const override;
36
37private:
48
49 double evaluate() const override;
50 void doEval(RooFit::EvalContext &) const override;
51
52 /// \cond CLASS_DEF_DOXY
54 /// \endcond
55};
56
57#endif
#define a(i)
Definition RSha256.hxx:99
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
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
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition RooArgSet.h:24
RooHypatia2 is the two-sided version of the Hypatia distribution described in https://arxiv....
Definition RooHypatia2.h:25
RooRealProxy _beta
Definition RooHypatia2.h:41
RooRealProxy _n
Definition RooHypatia2.h:45
RooRealProxy _a
Definition RooHypatia2.h:44
void doEval(RooFit::EvalContext &) const override
Base function for computing multiple values of a RooAbsReal.
RooRealProxy _zeta
Definition RooHypatia2.h:40
RooRealProxy _n2
Definition RooHypatia2.h:47
RooRealProxy _a2
Definition RooHypatia2.h:46
RooRealProxy _mu
Definition RooHypatia2.h:43
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
TObject * clone(const char *newname) const override
Definition RooHypatia2.h:32
RooRealProxy _sigma
Definition RooHypatia2.h:42
RooRealProxy _lambda
Definition RooHypatia2.h:39
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
RooRealProxy _x
Definition RooHypatia2.h:38
Mother of all ROOT objects.
Definition TObject.h:41
const Double_t sigma
Double_t x[n]
Definition legend1.C:17
const Int_t n
Definition legend1.C:16