ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
roofit
roofitcore
src
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
//
19
// BEGIN_HTML
20
// Lightweight function binding that returns the inverse of an input function binding
21
// Apply the change of variables transformation x -> 1/x to the input
22
// function and its range. The function must be one dimensional and its
23
// range cannot include zero.
24
// END_HTML
25
//
26
27
28
#include "
RooFit.h
"
29
30
#include "
RooInvTransform.h
"
31
#include "
RooInvTransform.h
"
32
33
#include "
Riostream.h
"
34
#include <math.h>
35
36
using namespace
std
;
37
38
ClassImp
(
RooInvTransform
)
39
;
40
41
42
////////////////////////////////////////////////////////////////////////////////
43
/// Constructor.
44
45
RooInvTransform::RooInvTransform
(
const
RooAbsFunc
&
func
) :
46
RooAbsFunc
(func.getDimension()), _func(&func)
47
{
48
}
RooInvTransform.h
ClassImp
ClassImp(RooInvTransform)
std
STL namespace.
RooInvTransform::RooInvTransform
RooInvTransform(const RooAbsFunc &func)
Constructor.
Definition:
RooInvTransform.cxx:45
RooInvTransform
Definition:
RooInvTransform.h:21
Riostream.h
func
double func(double *x, double *p)
Definition:
stressTF1.cxx:213
RooFit.h
RooAbsFunc
Definition:
RooAbsFunc.h:23