ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
RooInvTransform.cxx
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitCore *
4
* @(#)root/roofitcore:$Id$
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-2005, 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
/**
18
\file RooInvTransform.cxx
19
\class RooInvTransform
20
\ingroup Roofitcore
21
22
Lightweight function binding that returns the inverse of an input function binding.
23
Apply the change of variables transformation x -> 1/x to the input
24
function and its range. The function must be one dimensional and its
25
range cannot include zero.
26
**/
27
28
29
#include "
RooInvTransform.h
"
30
31
#include "
Riostream.h
"
32
#include <cmath>
33
34
ClassImp
(
RooInvTransform
);
35
;
36
37
38
////////////////////////////////////////////////////////////////////////////////
39
/// Constructor.
40
41
RooInvTransform::RooInvTransform
(
const
RooAbsFunc
&func) :
42
RooAbsFunc
(func.getDimension()),
_func
(&func)
43
{
44
}
Riostream.h
_func
RooAbsReal * _func
Pointer to original input function.
Definition
RooAbsTestStatistic.h:83
RooInvTransform.h
ClassImp
#define ClassImp(name)
Definition
Rtypes.h:377
RooAbsFunc
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
Definition
RooAbsFunc.h:27
RooInvTransform
Lightweight function binding that returns the inverse of an input function binding.
Definition
RooInvTransform.h:21
RooInvTransform::RooInvTransform
RooInvTransform(const RooAbsFunc &func)
Constructor.
Definition
RooInvTransform.cxx:41
roofit
roofitcore
src
RooInvTransform.cxx
ROOT v6-32 - Reference Guide Generated on Fri Nov 1 2024 15:09:13 (GVA Time) using Doxygen 1.9.8